Can you help me create a C Program with File Handling Manipulation? It should be a menu-driven with CRUDE transactions. (Create, Read, Update and Delete). Sample program (library, ordering, inventory, POS, bank, ticketing, rental, reservation, etc.). But here's my program and I created something like a students record. where there is the students number (roll number), the students name, the students course and the students total grade percentage. #include #include
Can you help me create a C Program with File Handling Manipulation? It should be a menu-driven with CRUDE transactions. (Create, Read, Update and Delete).
Sample program (library, ordering, inventory, POS, bank, ticketing, rental, reservation, etc.). But here's my program and I created something like a students record. where there is the students number (roll number), the students name, the students course and the students total grade percentage.
#include <stdio.h>
#include <stlib.h>
struct student
{
int roll_no;
char name[30];
char course[30];
float pecentage;
};
void create();
void read();
void update();
void delete();
int main()
{
int choice;
printf("Choose one of the options given below");
printf("1. Add Students record");
printf("2. Read Students record");
printf("3. Update Students record");
printf("4. Delete Studentsrecord");
printf("ENTER YOUR CHOICE");
scanf("%d", &choice);
}
Step by step
Solved in 3 steps