I ran the program in Xcode with Java Tools:
#include <iostream>
using namespace std;
main() {
int employeeid;
int hoursworked;
float hourlyrate, grosspay, taxamount, netpay;
float const TAXRATE = 0.10;
cout << "ENTER THE EMPLOYEE ID: ";
cin >> employeeid;
cout << "ENTER THE HOURS WORKED: ";
cin >> hoursworked;
cout << "ENTER THE HOURLY RATE: ";
cin >> hourlyrate;
grosspay = hoursworked * hourlyrate;
taxamount = grosspay * TAXRATE;
netpay = grosspay - taxamount;
cout << "EMPLOYEE ID IS " << employeeid << endl;
cout << "THE HOURS WORKED ARE " << hoursworked << endl;
cout << "THE HOURLY RATE IS " << hourlyrate << endl;
cout << "THE GROSSPAY IS " << grosspay << endl;
cout << "THE TAXAMOUNT IS " << taxamount << endl;
cout << "THE NETPAY IS " << netpay << endl;
return 0;
}//MAIN
The 3 errors were:
1. Command/Developer/Private/jam failed with exit code 1
2. illegal character: \35
3. 'class'or 'interface' expected