An open API service indexing awesome lists of open source software.

https://github.com/singhxtushar/menu_driven_fun

This program is about using a collection (list) of integers and allowing the user to select options from a menu to perform operations on the list.
https://github.com/singhxtushar/menu_driven_fun

Last synced: 8 months ago
JSON representation

This program is about using a collection (list) of integers and allowing the user to select options from a menu to perform operations on the list.

Awesome Lists containing this project

README

          

# MENU_DRIVEN_FUN
This program is about using a collection (list) of integers and allowing the user to select options from a menu to perform operations on the list.

program should display a menu options to the user as follows:

P - Print numbers

A - Add a number

M - Display mean of the numbers

S - Display the smallest number

L - Display the largest number

Q - Quit

Enter your choice:

The program should only accept valid choices from the user, both upper and lowercase selections should be allowed.
If an illegal choice is made, you should display, "Unknown selection, please try again" and the menu options should be
displayed again