Identify the compiler errors, and state what is needed to eliminate the error(s).

```
int Main()
{
int a,b,c;
int a = 5;
float $_per_month, price;
cout << “Enter pay per month and price.”;
cin >> price >> $_per_month;
return 0;
}
```

```
int Main() //should be main()
{
int a,b,c;
int a = 5;
float $_per_month, price; //can’t use $ in var name
cout << “Enter pay per month and price.”;
cin >> price >> $_per_month;
return 0;
}
```

Computer Science & Information Technology

You might also like to view...

Chrome OS is a Linux distro found on Chromebook notebooks

Indicate whether the statement is true or false

Computer Science & Information Technology

You do not have to be concerned about the security of macros from other sources

Indicate whether the statement is true or false.

Computer Science & Information Technology