Skip to content

This simple C program calculates a student's attendance percentage based on user input for the total number of days and the number of days the student is present.

License

Notifications You must be signed in to change notification settings

megh-bari/75-Percentage-Attendance-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

75% Attendance Calculator in C

This is a simple C program that calculates the attendance percentage of a student based on the total number of days and the number of days the student is present.

Table of Contents

Features

  • Calculates the attendance percentage accurately.
  • Easy-to-use command-line interface.
  • Written in C for portability.

How to Use

Installation

To use this program, follow these steps:

  1. Clone the repository:

    git clone https://github.com/megh-bari/75-Percentage-Attendance-Calculator.git
  2. Compile the program (if required):

  3. gcc attendance_calculator.c -o attendance_calculator
  4. Run the program:

    ./attendance_calculator

Follow the Prompts:

The program will prompt you to enter the total number of days and the number of days the student is present.

View the Result:

After entering the required information, the program will calculate and display the attendance percentage on the console.

Sample Output:

  • Enter the total number of days: 108
  • Enter the number of days the student is present: 81
  • Attendance Percentage: 75.00%

Contact Us:

If you have any questions, suggestions, or encounter any issues, please feel free to reach out to us:

License

This project is licensed under the MIT License - see the LICENSE file for details.

Author

Megh Bari

About

This simple C program calculates a student's attendance percentage based on user input for the total number of days and the number of days the student is present.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages