Computers and Technology, 07.10.2019 17:30, pookie879
Create a console program where you will implement variables that are needed for this program and will implement the code entirely within main. prompt the user for contributions. it should first ask for the contributor's grade. then it should ask how much the student is contributing. these prompts should be placed inside of a loop so that the program will continue to ask for contributions until a value of 999 is entered for the contributor's grade. once that value is entered, the program should calculate the average value of the contributions. display the results, with a congratulatory message for the class which collected the largest amount. use a boolean variable to control the while loop. use a switch statement to get the input into the proper variables. place the switch statement within the while loop and use the boolean variable to control the loop and set its value to false when the sentinel value (999) is detected. when calculating the averages you will need a selection statement for each grade contribution to either compute the individual grade contribution average or to set it to zero if there were no contributions for that grade.
Answers: 1
Computers and Technology, 14.07.2019 05:10, schoolemailonlyno1
Answers: 2
Computers and Technology, 01.10.2019 03:30, yuppcami9929
Answers: 3
Computers and Technology, 09.10.2019 16:20, codycollier
Answers: 3
Computers and Technology, 24.10.2019 17:43, urgurlkitty
Answers: 2
Create a console program where you will implement variables that are needed for this program and wil...
English, 05.02.2021 02:10
English, 05.02.2021 02:10
Chemistry, 05.02.2021 02:10
Mathematics, 05.02.2021 02:10
Health, 05.02.2021 02:10
English, 05.02.2021 02:20
History, 05.02.2021 02:20
Mathematics, 05.02.2021 02:20