File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

I need help!!!

 
Becky Harris
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3244
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to Beginner
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic