Question: Use C++ Visual Studio Task 1: One-dimensional arrays with integer indexes Exercise 1. Create a new C++ project in Visual Studio, add a new C++

 Use C++ Visual Studio Task 1: One-dimensional arrays with integer indexes

Use C++

Visual Studio

Task 1: One-dimensional arrays with integer indexes Exercise 1. Create a new C++ project in Visual Studio, add a new C++ file and copy the following code into it: // Program Reverse reads numbers into an array // and prints them out in reverse order.- reverse.txt 12 34 76 82 10 #include . using namespace std; - const int MAX -10; int main) 76 88. int numbers MAX]; ifstream _inData; int index; . inData.open("reverse.txt"); 65 for (index-e; index -0; index--. // FILL IN Code to write numbers on the screen system ("pause"); - return e; Exercise 2. Complete the missing code under the highlighted lines and run the program with the sample data above. - Lxercise 3 Extend the program to compute and display the sum of the values store in array numbers. 'hat was displayed by the program for the above sample data? Exercise 4. Paste a copy of your source code and a screen shot showing program output below

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!