You are on page 1of 2

Question 16

Q.16:

C++ Assignment

Answer:

PRORGAM
#include<constream.h>
#include<studio.h>
#include<math.h>

void main()
float marks[10][3],ar[3]par[10];
float [10]; char grade[10]
int a,b=0;
for (a=1;a<=10;a++)

{
clrscr();
cout<<\n enter the marks of students<<a<<for three subjects;
cin>>marks[a][b]>>marks[a][b+1]>>marks[a][a+2];
}
For(b=0;b<=3;b++)
Avg[b]+=marks[a][b];avg[b]
}
For(a=1;a<=10;a++)
{
09CE37
37

Question 16

C++ Assignment

For b=0;b<3;b++)
Total=[a]+=marks[a][b];per[a]=total[a]/300*100;
If (per[a]==70)
Grade[a]=A;
Where if (per[a]>60&&per[a]<70)
Grade[a]=B
Else if ( per[a]<60)
Grade==c;
}
Clrscr();
B=0
Cout<<in average marks in maths in complex variable and in computer ;
Cout<<n<<avg[b]<<\n<<abc[b+1]<<\n<<abg[b+1];
Cout<<total marks of each student with percentage and grade;
Cout<<***************;
Cout<<\n<<grade;
Getch();
}

09CE37
38

You might also like