Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Feb 26th, 2006, 2:33 PM   #1
DBZ
Newbie
 
Join Date: Feb 2006
Posts: 22
Rep Power: 0 DBZ is on a distinguished road
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!
DBZ is offline   Reply With Quote
Old Feb 26th, 2006, 2:48 PM   #2
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
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
DaWei is offline   Reply With Quote
Old Feb 26th, 2006, 3:00 PM   #3
MrMan9879
Programmer
 
MrMan9879's Avatar
 
Join Date: Sep 2005
Location: Nanaimo, BC, Canada
Posts: 97
Rep Power: 0 MrMan9879 is an unknown quantity at this point
Send a message via MSN to MrMan9879
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.
MrMan9879 is offline   Reply With Quote
Old Feb 26th, 2006, 10:41 PM   #4
DBZ
Newbie
 
Join Date: Feb 2006
Posts: 22
Rep Power: 0 DBZ is on a distinguished road
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.
DBZ is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 12:55 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC