#include
#include
void main()
{
char a[20];
int b;
int c,d,e;
clrscr();
printf("\n\t\t\t*** student structure ***");
printf("\n\n\t Enter the student name\t\t:\t");
scanf("%s",&a);
printf("\n\t Enter the student Roll No.\t:\t");
scanf("%d",&b);
printf("\n\t Enter your maths marks \t:\t");
scanf("%d",&c);
printf("\n\t Enter your since marks \t:\t");
scanf("%d",&d);
e=c+d;
printf("\n\t Your total subject marks\t:\t%d",e);
printf("\n\n\n\n\t\t\t*** student Information ***");
printf("\n\n\t Student Name\t\t\t:\t%s",a);
printf("\n\n\t Student Roll No. \t\t:\t%d",b);
printf("\n\n\t Student Total subject marks\t:\t%d",e);
getch();
}
get it?