Menu

[Solved]Write Complete Program Completing Missing Statement Use Following Main Generate Given Inpu Q37096942

C++ Program
Write a complete program by completing the missing statement to use the following main() and generate the given input/output.Write a complete program by completing the missing statement to use the following main() and generate the given input/output. int main() //declare array score int scores[6) //read 6 score in array a //find the scores average, and scores minimum and maximum //display all scores //display their average, maximum, and minimum Sample I/o //terminate program system(“pause”); return 0 Enter a score: 20 Enter a score: 30 Enter a score: 15 Enter a score: 25 Enter a score: 35 Enter a score: 45 All scores: 20 3015 25 35 45 Average 27.50 Maximum 45 Minimum= 15 Show transcribed image text Write a complete program by completing the missing statement to use the following main() and generate the given input/output. int main() //declare array score int scores[6) //read 6 score in array a //find the scores average, and scores minimum and maximum //display all scores //display their average, maximum, and minimum Sample I/o //terminate program system(“pause”); return 0 Enter a score: 20 Enter a score: 30 Enter a score: 15 Enter a score: 25 Enter a score: 35 Enter a score: 45 All scores: 20 3015 25 35 45 Average 27.50 Maximum 45 Minimum= 15

Expert Answer


Answer to Write a complete program by completing the missing statement to use the following main() and generate the given input/ou… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *