Question: 2. Create a file named fname.txt with the following data. 7.1 8.2 9.3 10.4 11.5 12.6 Write a program that reads the file created

2. Create a file named fname.txt with the following data. 7.1 8.2  

2. Create a file named fname.txt with the following data. 7.1 8.2 9.3 10.4 11.5 12.6 Write a program that reads the file created above and stores the data into an the array named fname_coursework:. Have your program copy the data stored in fname_coursework to another array named fname_courseworkNew, and then display the values in the fname courseworkNew array. Your program should use pointer notation when storing the data, copying and displaying array elements. Replace fname with your first name. 20 marks

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 Programming Questions!