Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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 score

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions