-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
Description
Ready to level up your C++ skills? This beginner-friendly task will help you practice fundamental arithmetic operations in C++. Understanding these basics is crucial for any programmer, and this task is designed to make learning fun!
Task:
Your task is to create a C++ program that performs the following operations:
- Addition
- Subtraction
- Multiplication
- Division
Your program should take two numbers as input and display the results of each operation. For example, if the inputs are 5 and 3, your program should output:
Addition: 8
Subtraction: 2
Multiplication: 15
Division: 1.66667
Instructions:
- Fork this repository to your GitHub account.
- Clone the forked repository to your local machine:
git clone https://github.com/KALIIOWORK/basic_c-_programs.git - Create a new C++ file named
arithmetic_operations.cpp. - Write a program that takes two numbers as input and performs addition, subtraction, multiplication, and division operations.
- Compile and run your program to ensure it works correctly.
- Commit your changes and push them to your forked repository.
- Open a pull request with your changes.
Note:
This task will strengthen your understanding of basic arithmetic operations in C++. Don't hesitate to experiment with different numbers and calculations. Happy coding! 🚀✨
Reactions are currently unavailable