Write a program to accept the student details (Name, Roll no, Father Name and
Mother Name) and display the same.
Answers
Answered by
0
Answer:
The answer is correct.
Explanation:
#include<stdio.h>
#include<conio.h>
main()
{
int i;
char n[100],fname[100],mname[100];
printf("\n Enter your name: ");
gets(n);
printf("\n Enter your Father name: ");
gets(fname);
printf("\n Enter your Mother name: ");
gets(mname);
printf("\n Enter your roll number: ");
scanf("%d",&i);
printf("\n Your Name is %s",n);
printf("\n Your Roll Number is %d",i);
printf("\n Your Father Name is %s",fname);
printf("\n Your Mother Name is %s",mname);
}
Answered by
16
Answer:
Answer in Attachment.
Hope it will helps you.
Attachments:
![](https://hi-static.z-dn.net/files/d14/a7c134390d2604b2e6322faa361ed298.jpg)
Similar questions
English,
2 months ago
Physics,
2 months ago
Science,
2 months ago
Computer Science,
4 months ago
English,
4 months ago
India Languages,
11 months ago