This repository contains a collection of C++ programming problems aimed at improving your problem-solving and coding skills. These challenges range from basic syntax to more complex algorithmic problems.
-
Grade Checker
Assign a grade based on the score. -
Number Sign
Check if a number is positive, negative, or zero. -
Triangle Type
Check if a triangle is equilateral, isosceles, or scalene. -
Vowel or Consonant
Check if a character is a vowel or consonant. -
Voting Eligibility
Check if a person is eligible to vote (18+). -
Login Check
Validate username and password. -
Traffic Light
Simulate traffic light actions. -
Array Average
Find the average of an array. -
Array Sort
Sort an array in ascending order. -
Even and Odd Count
Count even and odd numbers in an array. -
Remove Duplicates
Remove duplicates from an array. -
Add to Array
Add 6 to the end of an array. -
Array Contains
Check if a number exists in an array. -
Add to Beginning
Add an element to the start of an array. -
Remove Last Element
Remove the last element from an array. -
Check Positive
Check if all elements in an array are positive. -
Positive and Negative Count
Count positive and negative numbers in an array. -
Even Index Elements
Print elements at even indexes in an array. -
Array Sorted
Check if an array is sorted. -
Max-Min Difference
Find the difference between max and min values in an array. -
Uppercase String
Convert a string to uppercase. -
String Length
Find the length of a string. -
String Concatenation
Concatenate two strings. -
Remove Whitespace
Remove whitespace from both ends of a string. -
Split String into Words
Split a string into words. -
Check String Ending
Check if a string ends with a specific character. -
File Extension Extractor
Extract file extension from a filename. -
Largest Number
Find the largest of two numbers. -
Array Pair Sum
Find pairs whose sum equals a target. -
Sum of Digits
Find the sum of even and odd digits of a number.