Skip to content

"Calculate and Print: Simple Arithmetic Operations in C++" #3

@KALIIOWORK

Description

@KALIIOWORK

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:

  1. Fork this repository to your GitHub account.
  2. Clone the forked repository to your local machine: git clone https://github.com/KALIIOWORK/basic_c-_programs.git
  3. Create a new C++ file named arithmetic_operations.cpp.
  4. Write a program that takes two numbers as input and performs addition, subtraction, multiplication, and division operations.
  5. Compile and run your program to ensure it works correctly.
  6. Commit your changes and push them to your forked repository.
  7. 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! 🚀✨

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions