Aqib Fact tech

Aqib Fact tech SOFTWARE DEVELOPER

30/12/2022
22/12/2022

STUDENT MANAGEMENT SYSTEM CODE






// Variable to keep track of
// number of students
int i = 0;

// Structure to store the student
struct sinfo {
char fname[50];
char lname[50];
int roll;
float cgpa;
int cid[10];
} st[55];

// Function to add the student
void add_student()
{

printf("Add the Students Details\n");
printf("\n**************student*************\n\n");
printf("Enter the first "
"name of student\n");
scanf("%s", st[i].fname);
printf("Enter the last name"
" of student\n");
scanf("%s", st[i].lname);
printf("Enter the Roll Number\n");
scanf("%d", &st[i].roll);
printf("Enter the CGPA "
"you obtained\n");
scanf("%f", &st[i].cgpa);
printf("Enter the course ID"
" of each course\n");
for (int j = 0; j < 5; j++) {
scanf("%d", &st[i].cid[j]);
}
i = i + 1;
}

// Function to find the student
// by the roll number
void find_rl()
{
int x;
printf("\n\n**************student*************\n\n");
printf("Enter the Roll Number"
" of the student\n");
scanf("%d", &x);
for (int j = 1; j

Message me if anyone needs any kind of ppt
19/12/2022

Message me if anyone needs any kind of ppt

08/08/2021

Koi nhi soo saal jiya hai

Address

Bhopal

Alerts

Be the first to know and let us send you an email when Aqib Fact tech posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

Share

Category