fgr101 / MonthlyPayment

This C program allows users to calculate and display monthly payments for individual or group lessons, with the option to apply a discount. It also includes functionality to save and load the lesson prices from a file.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Language Lesson Payment Management System - README

Overview:

This project is a simple payment management system for language lessons written in C. It allows users to generate payments, show monthly payment logs, save data, and perform other basic functions related to managing payments for language lessons.

Features:

Generate Payment: Users can generate payment details for language lessons based on the lesson mode (individual or group), number of hours, and whether a discount is applied. Show Monthly Payments Log: This feature is not fully implemented in the current version of the program. Save Data: Users can save payment details to a file for record-keeping purposes. Language Selection: The program supports English, Spanish, and Portuguese languages, allowing users to choose their preferred language for interacting with the system. Discount Option: Users can apply a discount to their payment, with the discount amount configurable through a constant in the code. Clear Screen Functionality: The program includes a function to clear the console screen for better user experience.

Updates:

0.4

  • Lines in 'payments.txt' are ADDED, APPENDED ['a'] instead of REWRITTEN ['w+'].

  • Create txt file with payments entries. Payments registry.

    0.3

  • Variables such as SINGLE LESSON PRICE, GROUP LESSON PRICE and DISCOUNT VALUE can be modified, saved and stored in memory.

  • General visuals improved.

  • Main Menu improved.

    0.2

  • Generate receipt.[50%]

  • Add languages feature. Final messages in Spanish, English and Portuguese. [100%]

  • Don't show discount messages and information when there's NO discount applied. [100%]

    0.1

  • Basic structure of the program created. First options and basic functionalities developed.

File Structure:

main.c: Contains the main source code for the program, including the main() function and other supporting functions. data.dat: Placeholder file for saving payment data. This file is created by the program when saving data. README.md: This file provides an overview of the project, its features, and instructions for running the program.

Instructions for Running the Program:

Ensure you have a C compiler installed on your system (e.g., GCC for Unix-like systems or MinGW for Windows). Compile the main.c source file using the appropriate compiler command. For example: css Copy code gcc main.c -o language_payment_system Run the compiled executable file. For example: bash Copy code ./language_payment_system Follow the on-screen prompts to interact with the program, generate payments, and perform other actions.

Additional Notes:

This project is a work-in-progress and may contain bugs or incomplete features. Contributions and improvements are welcome. Feel free to fork the repository, make changes, and submit pull requests.

License:

This project is provided under the MIT License. You are free to use, modify, and distribute the code for both commercial and non-commercial purposes. See the LICENSE file for more details.

Contact:

For any questions, issues, or feedback, please contact [project maintainer's email or GitHub profile].

Acknowledgments:

This project was inspired by [mention any relevant inspirations or resources].

Version History:

v1.0 (YYYY-MM-DD): Initial release with basic functionality. v1.1 (YYYY-MM-DD): Bug fixes and improvements.

Future Enhancements:

Implement the "Show Monthly Payments Log" feature. Improve code structure and organization. Add error handling and input validation. Enhance user interface and experience. Authors:

[Author's Name] - [email or GitHub profile] [Include any other contributors or acknowledgments here]

Changelog:

[YYYY-MM-DD]: Description of changes made in this version. [YYYY-MM-DD]: Description of changes made in this version. ...

Troubleshooting:

If you encounter any issues or errors, please [mention troubleshooting steps or where to seek help]. References:

[Any external references or resources used in the project]

Keywords:

Language, Lesson, Payment, Management, C, Programming, System, Education, Discount, Record-Keeping.

Tags:

#Language #Payment #Management #C #Programming #Education #System #Discount #RecordKeeping

Disclaimer: [Include any relevant disclaimers or legal notices here]

Last Updated: YYYY-MM-DD

End of README

About

This C program allows users to calculate and display monthly payments for individual or group lessons, with the option to apply a discount. It also includes functionality to save and load the lesson prices from a file.


Languages

Language:C 100.0%