0
#include <iostream> using namespace std; int manin() { int a,b; int sum=a+b; cout<< "plz insert the for a ....\n"; cin>>a; cout
Why this is not working
2 Respostas
+ 1
#include <iostream>
using namespace std;
int main()
{
int a, b; // declare two variables
cout << "Enter the value of a = "; // ask user for value a
cin >> a; // take value of a from user
cout <<"Enter the value of b = "; // ask user for value b
cin >> b; // take value of b from user
cout << a + b; // perform addition and print it.
return 0;
}
0
Plz help