#include using namespace std; int main() { double matrix[4][3]={{2.5,3.2,6.0},{5.5, 7.5, 12.6},{11.25, 16.85, 13.45},{8.75, 35.65, 19.45}}; cout>t; matrix[0][i]=t; } cout


#include
using namespace std;
int main() {
 double matrix[4][3]={{2.5,3.2,6.0},{5.5, 7.5, 12.6},{11.25, 16.85, 13.45},{8.75, 35.65, 19.45}};
 cout<"input no="" in="" first="" row="" of=""><>
 for(int i=0;i<>
     double t;
     cin>>t;
     matrix[0][i]=t;
 }
 cout<"contents of="" the="" last="" column="" in=""><>
 for(int i=0;i<>
     cout<><">
 }
 cout<"content of="" first="" row="" and="" last="" column="" element="" in="" matrix="" is:=""><><>
 matrix[3][2]=13.6;
 cout<"updated matrix="" is=""><>
 for(int i=0;i<>
     for(int j=0;j<>
         cout<><">
     }cout<>
 }
 return 0;
}



Please explain this code



Jun 02, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here