subject

Write a C++ program that asks the user to enter the number of pancakes eaten for breakfast by 10 different people. Once the data has been entered, the program must analyze the data and output which person ate the most pancakes for breakfast and which person ate the least number of pancakes for breakfast. Use parallel arrays to complete the task. One array for the name of the eaters and the other one for the number of pancakes eaten by each person. Create 2 functions to perform the analysis. One will return the index of the person who ate the most pancakes and the other function will return the index of the person who ate the least pancakes.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 14:30
The basic work area of the computer is it screen that you when you first fire up your computer
Answers: 1
question
Computers and Technology, 23.06.2019 22:30
How many points do i need before i can send a chat
Answers: 1
question
Computers and Technology, 24.06.2019 13:00
What are some websites that you can read manga (ex: manga rock)
Answers: 1
question
Computers and Technology, 24.06.2019 17:30
What is the next step if your volume does not work on computer
Answers: 2
You know the right answer?
Write a C++ program that asks the user to enter the number of pancakes eaten for breakfast by 10 dif...
Questions
question
English, 22.08.2020 02:01
Questions on the website: 13722367