Answered step by step
Verified Expert Solution
Question
1 Approved Answer
C# Programming: Write a program named ArrayDemo that stores an array of 10 integers. (Note that the array is created for you and does not
C# Programming:
Write a program named ArrayDemothat stores an array of 10 integers. (Note that the array is created for you and does not need to be changed.)
Until the user enters a sentinel value, allow the user four options:
1. to view the list in order from the first to last position in the stored array
2. to view the list in order from the last to first position
3. to choose a specific position to view
4. to quit the application
ArrayDemo.cs Instructions Write a program named ArrayDemo that stores an array of 10 integers (Note that the array is created for you and does not need to be changed.) 1 using System; 2 using static System.Console; 3 class ArrayDendo 4 5static void Main() Until the user enters a sentinel value, allow the user four options: int[] nuns = {7, 6, 3, 2, 16, 8, 4, 5, 9, 1); // Write your main here 9 (1) to view the list in order from the first to last position in the stored array (2) to view the list in order from the last to first position (3) to choose a specific position to view (4) to quit the application GRADING As you complete the steps above, you can use the Test button to check if the lab tests are passing. Once you are satisfied with the results, use the Grade button to save vour scoreStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started