| | |
Programming using Qbasic w/ GoSub statements
![]() |
•
•
Join Date: Oct 2004
Posts: 1
Reputation:
Solved Threads: 0
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
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
- QBASIC under Windows XP (Visual Basic 4 / 5 / 6)
- Game Design: Which Programming Language First? (Game Development)
- QBasic Source code (Legacy and Other Languages)
- Re: Printing in QBasic (Legacy and Other Languages)
- Should I major? (Computer Science)
- Programming Ideas (C++)
Other Threads in the Legacy and Other Languages Forum
- Previous Thread: QBasic Nested for loop
- Next Thread: Running a q-basic program with a vb interface
| Thread Tools | Search this Thread |






