Question: Copy of your C++ program with a heading comment (with proper spacing and indentation). You must use an array. This is file using assignment. If

Copy of your C++ program with a heading comment (with proper spacing and indentation). You must use an array. This is file using assignment. If you do not read / write to files, you will not receive ANY credit. Copy of three screenshots. Use your 8 student ID as 8 numbers to be stored in the input file. Screenshot 1: The screenshot of your program execution. Screenshot 2: The screenshot of your input file. Screenshot 3: The screenshot of your output file.

ID for this assignment: 20311758 Purpose of the program : Read and write information to files. Section 1 : Receive input file info. and open the input file. Section 2 : Receive output file info. and open the output file. Section 3 : Read 8 digits numbers from input file and store them in an array. Section 4 : Show the numbers to the screen and write to the output file. Section 5 : Show the index values where user specified number is stored. Section 6 : Write the same information as section 5 to the output file. */ #include #include #include using namespace std; int main() { // Write your code here. return 0; } // main

Copy of your C++ program with a heading comment (with proper spacing

and indentation). You must use an array. This is file using assignment.

Input file example: inpu... File Edit Format View Help 0 0 4 Output file example: output09.txt-Notepad File Edit Format View Help Index 0 2 Index 1 0 Index 2 = 0 Index 3 = Index 4-6 Index 5 = 4 Index 6-5 Index 7-5 Please enter an index (07) for the number you wish to retrieve : 3 The number stored in index 3 is!5 Please enter a stored value 0 0 is stored at index 1 0 is stored at index 2

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!