| Author |
I need help!!!
|
Becky Harris
Greenhorn
Joined: Oct 02, 2002
Posts: 3
|
|
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 ]
|
 |
Dave Vick
Ranch Hand
Joined: May 10, 2001
Posts: 3244
|
|
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.
|
Dave
|
 |
Cindy Glass
"The Hood"
Sheriff
Joined: Sep 29, 2000
Posts: 8521
|
|
|
Moving to Beginner
|
"JavaRanch, where the deer and the Certified play" - David O'Meara
|
 |
Barry Gaunt
Ranch Hand
Joined: Aug 03, 2002
Posts: 7729
|
|
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 ]
|
Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
|
 |
 |
|
|
subject: I need help!!!
|
|
|