Loading repository data…
Loading repository data…
Mabdullahatif / repository
Welcome to my beginner-friendly C++ code repository, containing a collection of simple and helpful programs to learn the fundamentals of C++ programming.
Welcome to my beginner-friendly C++ code repository, containing a collection of simple and helpful programs to learn the fundamentals of C++ programming.
This repository contains a collection of C++ code samples that are designed to help beginners learn the basics of C++ programming. Each code snippet is accompanied by a detailed description of its functionality and usage.
| File Name | Description |
|---|---|
sum.cpp | Calculates the sum of two numbers. |
product.cpp | Calculates the product of two numbers. |
factorial.cpp | Calculates the factorial of a given number. |
fibonacci.cpp | Generates a Fibonacci series up to a given number. |
rock_paper_scissors.cpp | Simulates a rock-paper-scissors game between two players. |
calculate_package_cost.cpp | Calculates the cost of a package based on usage time. |
odd_or_even.cpp | Checks if a given number is odd or even. |
reverse_string.cpp | Reverses a given string. |
find_palindrome.cpp | Checks if a given string is a palindrome. |
number_pattern.cpp | Prints a number pattern using asterisks and spaces. |
git clone.Contributions to this repository are welcome! If you have any new C++ code samples or improvements to existing ones, feel free to create a pull request.
So far, all the work in this repository is purely done by me.