Program To Accept Marks Obtained By Students In Different Subjects Into A 2D Array And Also Store Their RollNo
/* Program To Accept Marks Obtained By Students In Different Subjects Into A 2D Array And Also Store Their RollNo.And Their Individual Marks. Display Average Total Marks And Also Display The Details Of The Students Whose Total Marks Exceeds The Average Total Marks */ #include
#include
void main() { int marks[50][8]; int i,j,sz,s=0,total=0; float avg; clrscr(); printf("\n enter no.of students(max.50)\n"); scanf("%d",&sz); for( i=0;i
avg ) { printf("\n"); for( j=0;j<8;j++ ) printf("%d",marks[i][j]); } } getch(); }
Please send comments to
vgdarur.javafive@blogger.com
Copyright © 2008 - iForeRunner.com
http://www.iforerunner.com/