Answer to Question #37609 in C++ for mariam

Question #37609
Write a program to store integers in an array of size 10. Initialize your array in a function Get_Values () where the user will input 10 integers to fill the array. The program then print a menu given below for user and must be able to perform various functions that the user chooses. The user commands are: D Display all non-zero values in the array T Display the total. R Display all the numbers in reverse order. Q Quit the program.
A. Attempt the program by using 1D array. B. Attempt the program by using 2D array. Where array will be of size 2X5. C. Handle all three options in separate functions D. Display all non-zero values in the array E. Display the total. F. Display all the numbers in reverse.
0
Expert's answer

Answer in progress...

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS