Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

main.cpP const int SIZE-30,column- 133 int year[SIZE]e] int c2ISIZE]11],c3[SIZE]

ID: 3688401 • Letter: M

Question

main.cpP const int SIZE-30,column- 133 int year[SIZE]e] int c2ISIZE]11],c3[SIZE][2],c4ISIZE][31,c5[SIZE][4],c6[SIZE ][5],c7[SIZE1[6],cB[S int c11[SIZE]I10],c12[SIZE ][11], c13[SIZE] [121,c14 SIZE1I13] n-e,remainder-0j long long int sumFF[SIZE ][ 14], sumRR ISIZE j[15i,totàl; string answer, category,files int cISIzEIitile cs sizE J2 ISIZE EBI), CSTSTZE 1L41, cE SizE1Isl.cqiszeirel ca sizt 1p), estsize long lons int au : 131251141.STE 15 24 25 26 IZE112],c9[SIZE]I string Energysource13coal", "Petroleun, Natural Gasothe 28 r Gases Nuclear"HEPS,Hydro "Biomass-Wood", "Bionass-Haste""Geothermal" "SolarWind,"Other")3 ifstream infile; ofstream outfile, infile.open("Energy.dat")5 31 32 for (int r er> c2[r][1]; infile>c3[r][2]; infile c4[r][3] infile>c5[r1[4]: infile c6[r][5]; infile>c7[r][6]j infile>>c8[r117] infile>c9[r][8]; infilec1e[r] [9]j infile c11[rj[10]; infilec12[r] [11] 38 39 10 1 2 Compile Log Debug S Find Results Close Close ilation results. ..

Explanation / Answer

#include void main () { static int array[10][10]; int i, j, m, n, sum = 0; printf("Enter the order of the matrix "); scanf("%d %d", &m, &n); printf("Enter the co-efficients of the matrix "); for (i = 0; i