![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Feb 2006
Posts: 22
Rep Power: 0
![]() |
Help me program this with Watcom!
Hey, I am making a program and the program I am using is Watcom so I was wondering if you guys can help me program this.
In my unit, it asked: The owner of a large business wishes to use a computer to print the paycheque for one of her employees. She uses the formula NET = GROSS- DEDUCTIOn to calculate the net pay amount. Write a program that displays a play slip containing the employee's name, amount of gross pay, amount of deductions and amount of net pay when you input the employee's name and gross pay. The amount taken away from the gross pay is 17%. When executed with the test date underlined, the proogram should look exactly like the one below except for the words in parenthesis. Save the program as "pay.bas" So practically they want this lay out in the program: ENTER NAME OF EMPLOYEE: Peter Williams (INPUT0 ENTER AMOUNT OF GROSS PAY $ 1000 (INPUT EMPLOYEE'S NAME: Peter Williams (OUTPUT) AMOUNT OF GROSS PAY $1000 (OUTPUT) AMOUNT OF DEDUCTION $170 (OUTPUT) AMOUNT OF NET PAY $830 (OUTPUT) END OF PROGRAM (OUTPUT) If you got it. Please upload it with www.yousendit.com or send it to me at nissan_skyline1@hotmail.com. Thanks! |
|
|
|
|
|
#2 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Read the forum's rules/FAQ and a "How to Post..." thread.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#3 |
|
Programmer
|
Please don't cross-post... here are a few things you may want to improve on in your post:
1. You haven't specified what language this is in. EDIT: OK, I guess the fact that your other post was in the Visual Basic forum, it's in Visual Basic... 2. We aren't going to do your homework for you, try posting code examples that you're having troubles with, and then maybe you'll get some help. |
|
|
|
|
|
#4 |
|
Newbie
Join Date: Feb 2006
Posts: 22
Rep Power: 0
![]() |
no! pleaes helpppp.. ;'l... I need help.. The language is Watcom. I cross posted becuz i thought this can be posted in the misc and the visual basic. Please... ;'l I beg u.
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|