Programming using Qbasic w/ GoSub statements

Reply

Join Date: Oct 2004
Posts: 1
Reputation: concepts is an unknown quantity at this point 
Solved Threads: 0
concepts concepts is offline Offline
Newbie Poster

Programming using Qbasic w/ GoSub statements

 
0
  #1
Oct 8th, 2004
concepts

I am using the GOSUB statements and subroutines, I have completed the input statements it is a payroll program

Input:
employee number
number of dependents
hourly rate
hours worked
Ouput:
employee number
number of dependents
hourly rate
hours worked

also the gross pay, and federal tax have to be rounded with the rounded statements, the net pay ends up rounded. I have the program coded,but
I am working on the processing and compute area. I would appreciate any help, I am burning the oil.

Diagram:

A100 INPUT DATA, B100 PROCESS DATA, C100 PRINT RESULTS

B200 CALCULATE GROSS, B210 CALCULATE TAX, B220 CALCULATE NET
Reply With Quote Quick reply to this message  
Join Date: Dec 2003
Posts: 2,414
Reputation: alc6379 has a spectacular aura about alc6379 has a spectacular aura about alc6379 has a spectacular aura about 
Solved Threads: 123
Team Colleague
alc6379's Avatar
alc6379 alc6379 is offline Offline
Cookie... That's it

Re: Programming using Qbasic w/ GoSub statements

 
0
  #2
Oct 8th, 2004
Would you mind posting your code here, or at least the snippets you're having trouble on? I'm no Qbasic programmer, but I'm sure others here might be able to help if they could see what you've got already.
Alex Cavnar, aka alc6379
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Legacy and Other Languages Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC