I am a student that just wrote my first program and I can't get it to run. I have errors and do not understand them. If some one could please help me I would greatly apperciate it. Thanks double hrs wkd; double pay rate; double ot hrs; double tot hrs wkd; double tot reg pay; double pay rate = 0; double tot ot pay; double tot gross pay; double tot hrs = 0; int tot employees = 0;
Utility skip ( ); (the errors that I am getting for these is ; expected) [ October 03, 2002: Message edited by: Becky Harris ]
Becky We'd happy to help you out but you'll have to post more of an explanation. What kind of errors are you getting? Does it compile? Show us your code, or at least the part that is giving you trouble.
1. change the names of all your variables. You cannot have what seem to be spaces in the middle of a variable name. 2. choose "nice" meaningful names like hoursWorked (or if you must: hours_worked) instead of hrswkd. 3. recompile and re-present your code between code markers (see just below the edit box) -Barry [ October 03, 2002: Message edited by: Barry Gaunt ]