#include <stdio.h>
void main()
{
struct students
{
char Name;
int Rollno;
int mobileno;
} A1, A2, A3;
printf("\nEnter the Students Data\n");
scanf("%c %d %d\n", &A1.Name, &A1.Rollno, &A1.mobileno);
scanf("%c %d %d\n", &A2.Name, &A2.Rollno, &A2.mobileno);
scanf("%c %d %d", &A3.Name, &A3.Rollno, &A3.mobileno);
printf("\nYour Enter Data is Below\n");
printf("%c %d %d\n", A1.Name, A1.Rollno, A1.mobileno);
printf("%c %d %d\n", A2.Name, A2.Rollno, A2.mobileno);
printf("%c %d %d\n", A3.Name, A3.Rollno, A3.mobileno);
}
Comments
Post a Comment