What is wrong?

closed account (zTUSz8AR)
What is wrong with the program?

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <iostream>                                                   //Line 1

namespace mySpace                                                   //Line 2
{                                                                                  //Line 3
const double RATE = 15.35;                                      //Line 4
int a;                                                                            //Line 5
}                                                                                  //Line 6

using namespace std;                                                  //Line 7

int main()
{                                                                                  //Line 8
int b;                                                                //Line 9

cin >> b;                                                          //Line 10
a=b;                                                                 //Line 11
cout << RATE << " " << a + 2 << " " << b    //Line 12
<< endl;                                                           //Line 13

Return 0;                                                         //Line 14
}   //Li 
Return 0;

It should be :
return 0;
Topic archived. No new replies allowed.