Calculator using C++

Fidan Agushi

0

Student

C++

Visual Studio Code

This is one of the 1st ever projects I created when I started learning C++. A simple but useful calculator.
The way I built this is really simple. First I will ask the user to input 2 numbers (The numbers are a 'double' data type so it means that even decimals can be summed up), then I would ask the user to choose an operator (+, -, *, /, ^, %). The way the computer will know which operator has been used is really simple. As we know to represent a character we can use single quote symbols. Why? Simple, when we do that the computer knows what symbol it is by the binary number of that symbol. And using the if and else function we can make a simple but useful calculator.
Like this project
0

Posted Aug 30, 2022

This is one of the 1st ever projects I created when I started learning C++. A simple but useful calculator.

Likes

0

Views

25

Tags

Student

C++

Visual Studio Code

Fidan Agushi

Programmer, Designer, 3D Designer

My first Website-Portfolio
My first Website-Portfolio
My First 3D project
My First 3D project