CPP-Practice

๐Ÿš€ CPP-Practice:

A professional collection of C++ practice programs focused on problem solving, logic building, arrays, functions, string manipulation, and prime number algorithms.

๐Ÿ“š About This Repository

This repository contains multiple C++ programming practice questions developed to improve programming concepts and problem-solving skills.

The projects demonstrate practical implementation of:


1๏ธโƒฃ Payroll Management System

๐Ÿ“Œ Description

A payroll processing system that manages employee attendance records and calculates weekly work statistics.

โœจ Features

๐Ÿง  Concepts Used

๐Ÿ”น Core Function

void calculatePayroll(int logs[10][7], int bonusList[10], int &totalAbsences, double &averageWeeklyHours)

2๏ธโƒฃ Student Name Sanitizer

๐Ÿ“Œ Description

A string-processing application that sanitizes and formats student names according to given rules.

โœจ Features

๐Ÿง  Concepts Used

๐Ÿ”น Core Function

void sanitizeStudentName(char name[], char filterChar, int maxLimit)

3๏ธโƒฃ Temperature Reading Processor

๐Ÿ“Œ Description

A C++ program that processes sensor readings and replaces every even value with the next prime number.

โœจ Features

๐Ÿง  Concepts Used

๐Ÿ”น Core Functions

bool isPrime(int n)

int nextPrime(int n)

void processReadings(int arr[], int size)

๐Ÿ“– Learning Outcomes

These questions helped improve understanding of:

โœ… Programming Fundamentals
โœ… Logical Thinking
โœ… Problem Solving Techniques
โœ… Function Design
โœ… Data Manipulation
โœ… String Handling
โœ… Algorithm Development
โœ… Code Structuring
โœ… Debugging Skills
```