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, 1:32 PM   #1
DBZ
Newbie
 
Join Date: Feb 2006
Posts: 22
Rep Power: 0 DBZ is on a distinguished road
Help me make a program. read --->

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, 1:49 PM   #2
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Linky dinky
__________________
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 Mar 9th, 2006, 9:10 AM   #3
brandonr
Newbie
 
Join Date: Feb 2006
Posts: 10
Rep Power: 0 brandonr is on a distinguished road
wow! your contributions are SOOOOO valuable! give a newbie a freakin' break!
brandonr is offline   Reply With Quote
Old Mar 9th, 2006, 9:11 AM   #4
brandonr
Newbie
 
Join Date: Feb 2006
Posts: 10
Rep Power: 0 brandonr is on a distinguished road
linky dinky
brandonr is offline   Reply With Quote
Old Mar 9th, 2006, 9:49 AM   #5
Polyphemus_
Expert Programmer
 
Polyphemus_'s Avatar
 
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 3 Polyphemus_ is on a distinguished road
Quote:
Originally Posted by brandonr
wow! your contributions are SOOOOO valuable! give a newbie a freakin' break!
Like your contributions are valuable
Polyphemus_ is offline   Reply With Quote
Old Mar 9th, 2006, 9:47 PM   #6
Booooze
Expert Programmer
 
Booooze's Avatar
 
Join Date: Mar 2006
Location: Igloo
Posts: 710
Rep Power: 3 Booooze is on a distinguished road
Send a message via MSN to Booooze
Quote:
Hey, I am making a program
Well, if we do it for you, then you didn't really make it now did you?
Booooze is offline   Reply With Quote
Old Mar 9th, 2006, 9:13 AM   #7
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Brandon, why the hell don't you click on my name and read my previous posts. Contributions abound where warranted. You are essentially a dumbbell to the max. You need to stay in the online world, for if you venture into the real world with your attitude, the likelihood of your survival is less than felicitous.
__________________
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 Mar 10th, 2006, 8:53 AM   #8
demon101
Hobbyist Programmer
 
demon101's Avatar
 
Join Date: Mar 2006
Location: westboro, ohio
Posts: 159
Rep Power: 0 demon101 is an unknown quantity at this point
Send a message via Yahoo to demon101
i like what you said. you are right you know way more about programming than he probably did. i dont know any thing about programming that is way i came to this forum to try to learn some.

Quote:
Originally Posted by DaWei
Brandon, why the hell don't you click on my name and read my previous posts. Contributions abound where warranted. You are essentially a dumbbell to the max. You need to stay in the online world, for if you venture into the real world with your attitude, the likelihood of your survival is less than felicitous.
demon101 is offline   Reply With Quote
Old Mar 9th, 2006, 9:18 AM   #9
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Your ignorance is quite astounding. Banning by user name or by IP is an option. Dummies may then resort to proxies or whatever. If they remain unduly disruptive, entire ranges can be banned, which is unfair to innocent parties using that range, but eminently effective.
__________________
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
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 3:06 AM.

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