Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zyx-0314/cp1-grade-checker-basics-part-2
A C++ console app for collecting and averaging student grades across five subjects. Users enter their name, section, and school, then input grades for an average score. Includes options to continue or exit, with structured naming conventions and additional exercises to enhance coding skills.
https://github.com/zyx-0314/cp1-grade-checker-basics-part-2
basic-programming cpp school-project
Last synced: about 2 months ago
JSON representation
A C++ console app for collecting and averaging student grades across five subjects. Users enter their name, section, and school, then input grades for an average score. Includes options to continue or exit, with structured naming conventions and additional exercises to enhance coding skills.
- Host: GitHub
- URL: https://github.com/zyx-0314/cp1-grade-checker-basics-part-2
- Owner: zyx-0314
- License: gpl-3.0
- Created: 2024-10-11T01:26:58.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2024-11-22T05:21:36.000Z (about 2 months ago)
- Last Synced: 2024-11-22T06:22:04.089Z (about 2 months ago)
- Topics: basic-programming, cpp, school-project
- Language: C++
- Homepage:
- Size: 65.4 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
A C++ console application to collect and display the average grade of a student across five subjects.
![](https://visit-counter.vercel.app/counter.png?page=zyx-0314/CP1-Grade-Checker-Basics-Part-2)
---
Table of Contents
---
## Overview
**Grade Checker** is a C++ console application designed to collect student names and their grades across five subjects, calculate their average, and display it alongside their details. It follows a structured approach to input handling and adheres to specific naming conventions for readability and organization.
### Key Features
- Input collection for student names, section, and school.
- Grade input and average calculation across five subjects.
- Option for users to continue or exit the program after each calculation.### Technology
![C++](https://img.shields.io/badge/C++-00599C?style=for-the-badge&logo=c%2B%2B&logoColor=white)
## Naming Conventions and Guidelines
The code follows these naming conventions:
1. **Variables**: `camelCase`
2. **Constants**: `SNAKE_SCREAMING_CASE`
3. **Functions**: `PascalCase`Additional Guidelines:
- Naming should be meaningful and use only standard abbreviations.
- Code blocks should separate constants, variables, and logic clearly.
- Avoid using global variables (automatically results in a score of zero if used).## Code Activities
This project includes several additional coding exercises to practice similar logic:
1. **Visitor Age and Payment**: Collect visitor names and ages to assign payment levels (Kids, Adult, Senior) based on age.
2. **Sari-Sari Store System**: Allows users to select items, calculates total cost, and generates a receipt.
3. **Group Payment for Park Entry**: Compute total clients in a group, assign a group name, and handle entry payment.
4. **Employee Salary Calculation**: Calculate salary based on hours worked, with bonus rates for night and early morning shifts.---
By following structured naming conventions and including multiple hands-on activities, this project supports clear and consistent coding practices.