A bowling team consists of five players. Each player bowls three games. Write a C program that uses a nested loop to enter each players individual scores and then computes and displays the average score for each bowler. Assume that each bowler has the following scores:
I tried asking a few days ago but I was in a rush. I am kinda in one right now too but not so bad.
Here's my problem, I usually can figure these things out pretty quick but this nested loop has got me crying for mama...or yet cplusplus gurus. I've got this much so far. I know its a mess but please help me out!
If you start bowler at 0 and go up to 5, the loop will run 6 times - I think you only mean it to run 5.
You then reset bowler = 0, but then try to use bowler as the switch condition - it's not going to match your cases of 1 through what I guess will be 5?