I was wondering how to make my calculator say "The sum of a plus b is c"
(a replaced with the first number added b replaced with the second number added, and c replaced with the value of the 2 added together)
Yes I know I'm a noob i just started today.
#include <iostream>
using namespace std;
int main()
{
int a;
int b;
int sum;
cout << "Enter a number \n";
cin >> a;
cout << "Enter another number \n";
cin >> b;
cout << "The answer of ";
sum = a;
cout << "plus ";
sum = b;
cout << "is "
sum = a + b;