Open Sources Project Student Records Management Provide Following Questions Codes C Langua Q37117479

Open Sources Project- Student Records Management.Provide the following questions with the codes in C++languages.

Add more objects and a functionality to where the usercan have access the student record including GPA and average classGPA.

We want to Add GPA for each student and Find classaverage. At the bottom is the completed working codes.

Pseudocode:

#include <iostream>
#include <cstdio>
#include <cstring>
#include <cstdlib>
#include <iomanip>
#include <stdio.h>

using namespace std;

struct student{
int roll_no;
char first_name[10], last_name[10];
char course[10];
int section;
};
int main() {
FILE *fp, *ft;
char another, choice;
struct student e;
long int recsize;
int modified = 0, roll_no ;

fp = fopen(“users.txt”,”rb+”);

if (fp == NULL){
fp = fopen(“users.txt”,”wb+”);

if (fp == NULL)
{
puts(“Cannot open file”);
return 0;
}
}

recsize = sizeof(e);

while(1) {
system(“cls”);

cout << “tt====== STUDENT INFORMATION

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.