I'm not sure how to go about the following problem:
Write a program that will prompt the user to enter a list of integer numbers that are separated by either a space (whitespace) or a return (\n). Your program should then call three functions called “largest”, “smallest” and “average” that will return the largest, smallest and average number in the list. Main should then report the largest, smallest number as well as the average of all numbers in the list. Test your program on the following input > 3 4 6 7 8 10 12 24 45 67 76 34 23 4.
2007-03-28
12:51:57
·
4 answers
·
asked by
Anonymous
in
Education & Reference
➔ Homework Help