What is wrong with the following program? #include <iostream> //Line 1using namespace sdt; //Line 2int main() //Line 3{ //Line 4int x; //Line 5std::cin >> x; //Line 6cout << "x = " << x << endl; //Line 7return; //Line 8} //Line 9
What is wrong with the following
#include <iostream> //Line 1
using namespace sdt; //Line 2
int main() //Line 3
{ //Line 4
int x; //Line 5
std::cin >> x; //Line 6
cout << "x = " << x << endl; //Line 7
return; //Line 8
} //Line 9
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 1 images