Question: Please fix this program using C++, I'm tryin to write a program that read data from input file (data1.txt), store them as 2 different arrays,
Please fix this program using C++, I'm tryin to write a program that read data from input file (data1.txt), store them as 2 different arrays, and print out each element of arrays.
Data1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
100 80 60 40 20
Here is my code
Thanks


Quick Launch (Ctrl+Q) Programi (Debugging)-Microsoft Visual Studio Sign in File Edit View Project Build Debug Team Iools Test R Tools Analyze Window Help -Debug E | Lifecycle Events , Thread: [976] Main Thread Process: [7892] Program1.exe Header.cpp Header.h Source.cpp main0 Program 1 - (Global Scope) 2 3 4 #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
