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, 22.06.2019 14:10
Dean wants a quick way to look up staff members by their staff id. in cell q3, nest the existing vlookup function in an iferror function. if the vlookup function returns an error result, the text “invalid staff id” should be displayed by the formula. (hint: you can test that this formula is working by changing the value in cell q2 to 0, but remember to set the value of cell q2 back to 1036 when the testing is complete.)
Answers: 3
question
Computers and Technology, 22.06.2019 17:30
Which tab should you open to find the option for adding a header?
Answers: 1
question
Computers and Technology, 24.06.2019 08:30
Why might you choose to create a functional resume
Answers: 1
question
Computers and Technology, 24.06.2019 19:30
Dtp allows you to manipulate text boxes in the following ways. more than 1 answer. a.move them b.rotate them c.resize them d.all of the above e.none of the above
Answers: 1
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
Mathematics, 22.09.2021 01:00
question
Geography, 22.09.2021 01:00
question
Mathematics, 22.09.2021 01:00
question
Health, 22.09.2021 01:00
Questions on the website: 13722363