0

plz solve the problem

using namespeace std; #include <iostream> int main() { int a,b; cout << "Enter The First Number:"; cin >> a; cout << "\nEnter Second Number"; cin >> b; int sum = a+b; cout << "\nsum of two number is "<< a+b; return 0; }

31st Aug 2022, 4:52 PM
Sahil Kshirsagar
Sahil Kshirsagar - avatar
2 Answers
+ 2
// There are 2 mistakes in your code using namespace std; cout << "\nsum of two number is "<< sum;
31st Aug 2022, 5:10 PM
SoloProg
SoloProg - avatar