Question: Write a C program using the macro definitions and structure definitions as detailed below to store data for courses offered at a department at a

Write a C program using the macro definitions and structure definitions as detailed below to store data for courses offered at a department at a university and the record of students registered to these courses. #define CLASSSIZE 35 // SINIFKAPASITE #define STUDENTNUMBERLENGTH 10 // OGRENCINUMARAUZUNLUGU #define NAMELENGTH 25 // ADIUZUNLUGU #define COURSENAMELENGTH 50 // DERSADIUZUNLUGU #define COURSECODELENGTH 10 // DERSKODUZUNLUGU #define COURSESREGISTERED 5 // KAYITLIDERSLER #define MIDTERMWEIGHT 30 // VIZEAGIRLIK #define FINALWEIGHT 30 // FINALAGIRLIK #define QUIZWEIGHT 20 // QUIZAGIRLIK #define HOMEWORKWEIGHT 20 // ODEVAGIRLIK typedef struct fullName{ char *name; char *surname; }name_t; //tam adi //adi //soyadi Write a C program using the macro definitions and structure definitions as detailed below to store data for courses offered at a department at a university and the record of students registered to these courses. #define CLASSSIZE 35 // SINIFKAPASITE #define STUDENTNUMBERLENGTH 10 // OGRENCINUMARAUZUNLUGU #define NAMELENGTH 25 // ADIUZUNLUGU #define COURSENAMELENGTH 50 // DERSADIUZUNLUGU #define COURSECODELENGTH 10 // DERSKODUZUNLUGU #define COURSESREGISTERED 5 // KAYITLIDERSLER #define MIDTERMWEIGHT 30 // VIZEAGIRLIK #define FINALWEIGHT 30 // FINALAGIRLIK #define QUIZWEIGHT 20 // QUIZAGIRLIK #define HOMEWORKWEIGHT 20 // ODEVAGIRLIK typedef struct fullName{ char *name; char *surname; }name_t; //tam adi //adi //soyadi
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
