1 make a structure for the bowlers write the program and test it also it would have 5346707
1. Make a structure for the bowlers(write the program and test it also). It would have a string for a name, and 3 integers for the scores, and a double for the average.
You should be able to get, set, calculate, and print the data.
The data should be checked for being in the range of 0 to 300 . If the data is out of range, put 0 in place of the score.
Enter the following data for bowler one from the keyboard:
charlie brown, 200, 300, 100
call the get, set, calculate, and print methods
Enter the following data for bowler 2:
lucy, 100, 300, 400
call the get, set, calculate, and print methods
2. Make a structure for a student. String for name, int for age, char for level(f for freshman, s for sophmore, j for junior, r for senior)
Create methods for get, set, and print
Enter the following data from the keyboard:
john smith, 19, s
Check to make sure he has a valid grade level(use a switch)
Check to insure the age is in the range of 0 to 120