This project aims to simulate an enterprise application system for managing students, their grades, and courses. The system is implemented in C and focuses on inputting and processing student data, course information, and grades. The program allows users to input student and course data, record grades, and generate reports.
To compile and run this program, ensure you have a C compiler installed on your system.π οΈ
- Clone the repository to your local machine.π
- Compile the program using a C compiler.π₯οΈ
- Run the compiled executable.
βΆοΈ
typedef struct ucenik {
int index, brojpredmeta;
char ime[30], prezime[30];
struct ucenik *sledeci;
} ucenik;
- Course Structure (predmet)π
typedef struct predmet {
int sifra;
char nazivpredmeta[30];
int brojstudenata;
struct predmet *sledeci;
} predmet;
- Grade Submission Structure (prijava)π
typedef struct prijava {
int brojindeksa, sifra_pred, ocena;
struct prijava *sledeci;
} prijava;
- dodaj_na_pocetak: Adds a new element at the beginning of a linked list.β
- dodaj_na_kraj: Adds a new element at the end of a linked list.β
- unosucenik: Takes user input for student information and adds it to the student list.π€
- unospredmet: Takes user input for course information and adds it to the course list.π€
- unosprijava: Takes user input for grade submission and adds it to the grade list.π€
- proveriimepredmeta: Checks if a course with the given name exists in the course list.βοΈ
- proveriimeucenika: Checks if a student with the given name and surname exists in the student list.βοΈ
- zameni: Swaps two grade submission elements.π
- sort: Sorts the course list based on the number of students in descending order.π
- ispis_prijava: Prints the grade submissions.π