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

7th Nov 2019, 5:18 AM
Nancy Choudhary
Nancy Choudhary - avatar
3 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; }
7th Nov 2019, 5:34 AM
onekpsc
0
Plz help
7th Nov 2019, 5:18 AM
Nancy Choudhary
Nancy Choudhary - avatar