Tasting bad ?

Does what you eat effect how you taste? For instance if I eat a lot of fast food will I taste bad vs if I eat a lot of fruit?