Question: Write a C++ program to read two columns of numbers, do arithmetic operations as described below and output the original values and computed values to
Write a C++ program to read two columns of numbers, do arithmetic operations as described below and output the original values and computed values to the screen as table
a). Download the dataFile1
b). Read two columns of data into vector(s)
c). Output two columns values to the screen
c). Multiple the first column by 2 and the second column by 3
d). Store the new values in separate vector(s)
c). Print out the new values to the screen
dataFile1.txt
1 3 2 6 3 9 4 12 5 15 6 18 7 21 8 24 9 27 10 30
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
