User Define
#include<stdio.h>
#include<conio.h>
int main()
{
char name[20],fathername[20],qualification[20];
int age,dob;
float height;
printf("Student name :");
scanf("%s",&name);
printf("Father name :");
scanf("%s",&fathername);
printf("Qualification :");
scanf("%s",&qualification);
printf("Age :");
scanf("%d",&age);
printf("Height :");
scanf("%f",&height);
printf("Date Of Birth :");
scanf("%d",&dob);
printf("\n Student name :%s",name);
printf("\n Father name :%s",fathername);
printf("\n Qualification :%s",qualification);
printf("\n Age :%d",age);
printf("\n Date Of Birth :%d",dob);
getch();
}
No comments:
Post a Comment