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.๐