Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Some help with a simple program... Calculating overtime pay...
#5
By the way, I would have coded your program using arrays, such as:
U1$(4), H1(4), P1(4)

Then, to read, you could use:
FOR i = 1 to 4
  READ U1$(i), H1(i),P1(i)
NEXT i

That would read all the values into the variables.
I would code the following parts in a similar manner.
Ralph, using QuickBASIC 4.5 and Windows XP Home Edition and Service Pack 2, with HP LaserJet 4L printer.
Reply


Messages In This Thread
Re: Some help with a simple program... Calculating overtime pay... - by Ralph - 05-12-2008, 08:22 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)