954,554 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Programming using Qbasic w/ GoSub statements

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

concepts
Newbie Poster
1 post since Oct 2004
Reputation Points: 10
Solved Threads: 0
 

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.

alc6379
Cookie... That's it
Team Colleague
2,820 posts since Dec 2003
Reputation Points: 186
Solved Threads: 147
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You