Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

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.

 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"