August 24, 2009

Project 62 (Menu-driven program)

62. Write a menu-driven program that allows a user to enter five numbers and then choose between finding the smallest, largest, sum or average. The menu and all the choices are to be functions. Use a switch statement to determine what action to take. Provide an error message if an invalid choice is entered.

OUTPUT PROGRAM

Start of the Program


Option 1

Option 2



Option 3


Option 4

Default message

No comments:

Post a Comment