Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

Awesome Lists containing this project

README

        






Nyebe

Grade Checker



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



  1. Overview

    1. Key Features

    2. Technology



  2. Naming Conventions and Guidelines

  3. Code Activities

---

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