Answers for "how to make a adittion calculator in c++"

C++
0

how to make a adittion calculator in c++

#include <iostream>
using namespace std;

int main() {
    float firstCalculation = 0.00, secondCalculation = 0.00;
    cout << "Enter the first calculation, it's addition anyway!\n";
    cin >> firstCalculation;
    cout << "Enter your second calculation\n";
    cin >> secondCalculation;
    float fullCalculation = firstCalculation + secondCalculation;
    cout << "The answer is: " << fullCalculation;
    
    return 0;
}
Posted by: Guest on March-01-2021

Code answers related to "how to make a adittion calculator in c++"

Browse Popular Code Answers by Language