Header Ads

C++ Programs

Problam#1: Write a program that asks the user to enter the number of pancakes eaten for breakfast by 10 different people (Person 1, Person 2, ..., Person 10) Once the data has been entered the program must analyze the data and output which person ate the most and the least number of pancakes for breakfast. Also print a list in descending order of number of pancakes eaten of all 10 people. 
i.e. Person 4: ate 10 pancakes 
 Person 3: ate 7 pancakes 
 Person 8: ate 4 pancakes 
 Person 5: ate 0 pancakes

Solutions Coming Soon..

No comments