Question: 1. Write a C++ program to create a 3-by-3 array of float of 3.1, 6.2, 9.3, 12.4, 15.5, 18.6, 21.7, 24.8, and 27.9. Display

 1. Write a C++ program to create a 3-by-3 array of float  

1. Write a C++ program to create a 3-by-3 array of float of 3.1, 6.2, 9.3, 12.4, 15.5, 18.6, 21.7, 24.8, and 27.9. Display the array on the screen. Then add 7 to each element and display the new set of array on the screen as well store it in a file named with first four letters of your name. (20 marks)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

include include using namespace std int main ofstream MyFiley... View full answer

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!