The Attendance Management Program is a command-line application that helps teachers and educators manage student attendance. This program allows you to:
- Record attendance for a specific subject and date.
- Store teacher information, subject details, and student data.
- Generate attendance reports in text files for easy reference.
- Input teacher's name and subject.
- Specify the number of students in the class.
- Enter student names and roll numbers.
- Record student attendance (Present/Absent) and save it to a text file.
- Automatically generates a unique text file for each subject with attendance data.
To use this program, follow these steps:
-
Clone the repository:
git clone https://github.com/megh-bari/Attendance-Management-System.git
-
Compile the program (if required):
gcc attendance.c -o attendance
-
Run the program:
./attendance
-
Enter Teacher Name and Subject:
- Start by providing the teacher's name and the subject for which you want to take attendance.
-
Specify Number of Students:
- Input the number of students in your class.
-
Enter Student Information:
- Enter the full name and roll number for each student.
-
Take Attendance:
- For each student, specify if they are present (P) or absent (A).
-
Save Attendance Data:
- The program will save the attendance data in a text file named after the subject and add details about the teacher and date.
-
Repeat or Exit:
- You can choose to continue taking attendance for different subjects or exit the program.
Here's an example of how the program works:
-
Enter the teacher's name: Code With Harry
-
Enter the subject: C Programming
-
Enter the number of students in the class: 3
-
Enter full name of student 1: Megh Bari
-
Enter roll number for Megh Bari: 101
-
Enter full name of student 2: Dennis Ritchie
-
Enter roll number for Bob Davis: 102
-
Enter full name of student 3: Bjarne Stroustrup
-
Enter roll number for Carol Brown: 103
-
Megh Bari [101] is present (P) or absent (A) for C Programming ? P
-
Dennis Ritchie[102] is present (P) or absent (A) for C Programming? P
-
Bjarne Stroustrup [103] is present (P) or absent (A) for C Programming? A
-
Attendance data for C Programming has been recorded in C Programming_attendance.txt.
-
Do you want to continue (1 for Yes, 0 for No)? 0
-
Example: C Programming_attendance.txt Look Like This!!
If you have any questions, suggestions, or encounter any issues, please feel free to reach out to us:
- Email: meghbari01@gmail.com
- GitHub Issues: GitHub repository
This project is licensed under the MIT License - see the LICENSE file for details.