Write a python program with appropriate comments that creates a menu-driven program that allows a user to enter five numbers (integers) and then choose an operation from one of the operations: finding the smallest, largest, sum, average, or end.

 the program should have a main function and at least five functions. the program
execution starts by calling main function that calls all other functions
 the menu and all the choices must be functions
 each function must do only one action
 provide an error message if an invalid choice is entered.
 prompt the user to enter valid number if one of the five numbers entered is not in the
valid range. the valid range is between 25 to 250 (including 25 and 250)
 the program should terminate only when the user selects end option from the menu  for every pass, the user should be prompted to enter five numbers within the valid
range

points will be deducted for programs that:
o fail to follow instructions
o lack sufficient documentation
o violate basic program design

lilulurens lilulurens    3   22.10.2019 22:56    1

Ответы
Fjk123cg Fjk123cg  23.10.2019 00:10
Мне правда жаль
ПОКАЗАТЬ ОТВЕТЫ
Другие вопросы по теме Информатика