#include<stdio.h>
struct details
{
	char name[100];
	int rollno;
	int semesternumber;
	char university[100];
	char place[100];
	float CGPA;
};
int main() 
{
struct details s1;
printf("enter the name:\n");
scanf("%s\n",s1.name);
printf("enter the rollno:\n");
scanf("%d\n",&s1.rollno);
printf("enter the semesternumber:\n");
scanf("%d\n",&s1.semesternumber);
printf("enter the university:\n");
scanf("%s\n",s1.university);
printf("enter the place:\n");
scanf("%s\n",s1.place);
printf("enter the CGPA:\n");
scanf("%f\n",&s1.CGPA);
    printf("%s\n",s1.name);
    printf("%d\n",s1.rollno);
    printf("%d\n",s1.semesternumber);
    printf("%s\n",s1.university);
    printf("%s\n",s1.place);
    printf("%f\n",s1.CGPA);
return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: