Question: Use C++ and follow the rules. Use a While loop for validating user input. Use a Do/while loop for driving a menu program. And now,

Use C++ and follow the rules. Use a While loop for validating user input. Use a Do/while loop for driving a menu program. And now, use a For loop with arrays. Don't write this code in paper like many other peope have.
driven program that offers the user a chance to play with a Please create a menu- list of numbers: e Numb 1. Add one number to the end of the list 2. Display the list 3. Display the list backward:s 4. Display the sum of all the numbers in the list 5. Exit the Numbers List Game Here are the rules: eneral Rul When the program starts, the list is empty Keep the menu looping around until the user wishes to stop Menu Option 1: All numbers must be positive integers. Allow no more than 20 numbers to be added to the list in any given run of the program. Don't allow the program to crash - keep a counter Menu Option 2: Display the list. Either put a space between each number or put one number per line so that it's easy to read. Make all of the output beautiful. Menu Option 3: Display the list backwards. Either put a space between each number or put one number per line so that it's easy to read. Make all of the output beautiful. Menu Option 4: Add up all the numbers in the list and display that number. Programming Rules: You must use an array to hold the list of numbers. That array must be declared in main0 and then passed around to the various functions. Your code must be divided into logical functions - use a separate function to implement each menu option. No global variables. Global constants are okay. All good programming practices should be in place
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
