If you can't read please download the document
Upload
prateek-sharma
View
212
Download
0
Embed Size (px)
DESCRIPTION
calculates marks of students
Citation preview
#include#include#includevoid enter();void show();void cal();void srch();struct data{int e,h,s,c,m,tot;//e=eng,h=hin,s=sci,m=maths,tot=total,clas=class.char name[20],grd,sec[2],cls[5],res;float percent;}d[100];void input(int n){int i;coutn;for(i=0;i>d[i].e;cprintf("HINDI:");cin>>d[i].h;cprintf("MATHS:");cin>>d[i].m;cprintf("SCIENCE:");cin>>d[i].s;cprintf("COMPUTER:");cin>>d[i].c;}}void cal(int n){int i,h[10];for(i=0;i