Code:#include <stdio.h> int main() { struct stud { char name; int rollno; float marks; }; struct stud s1,s2,s3; printf("enter name , roll no. and marks\n"); scanf("%c %d %f",&s1.name,&s1.rollno,&s1.marks); scanf("%c %d %f",&s2.name,&s2.rollno,&s2.marks); scanf("%c %d %f",&s3.name,&s3.rollno,&s3.marks); printf("%c %d %f",s1.name,s1.rollno,s1.marks); printf("%c %d %f",s2.name,s2.rollno,s2.marks); printf("%c %d %f",s3.name,s3.rollno,s3.marks); float average; average = ((s1.marks+s2.marks+s3.marks)/3); printf("the average marks of students is %f",average); return 0; }