Question 1) What, if anything is wrong with this program? #include using namespace std; int main() { cout <> number; 3. main is spelled wrong, should be mian. 4. The program is trying to display number before it exists. 5. There is nothing wrong with it.
Question
1) What, if anything is wrong with this program?
#include <iostream> using
namespace std;
int main()
{
cout << number;
int number = 22;
return 0;
}
1. The #include should come after the using statement.
2. It should be cout >> number;
3. main is spelled wrong, should be mian.
4. The program is trying to display number before it exists.
5. There is nothing wrong with it.