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 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
include include using namespace std int main ofstream MyFiley... View full answer
Get step-by-step solutions from verified subject matter experts
