Ok i'm using Borland ver 5.01 and below is the code i'm trying to do. I've shown this code to a friend and he said i can actually use a switch function. I'm new to progamming but i don't want the exact coding but just want to know what and how to do it.
And if possible i want to know if there's anything wrong with it like the
int salesp, salesam, quarter;