Calculator using C++

Fidan Agushi

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.

2022

Partner With Fidan
View Services

More Projects by Fidan