944,047 Members | Top Members by Rank

Ad:
Oct 8th, 2004
0

Programming using Qbasic w/ GoSub statements

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
concepts is offline Offline
1 posts
since Oct 2004
Oct 8th, 2004
0

Re: Programming using Qbasic w/ GoSub statements

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.
Team Colleague
Reputation Points: 186
Solved Threads: 147
Cookie... That's it
alc6379 is offline Offline
2,519 posts
since Dec 2003

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Legacy and Other Languages Forum Timeline: QBasic Nested for loop
Next Thread in Legacy and Other Languages Forum Timeline: Running a q-basic program with a vb interface





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC