Programming Forums
User Name Password Register
 

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

Reply
 
Thread Tools Display Modes
Old Sep 11th, 2005, 5:57 PM   #11
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
Quote:
Originally Posted by JimR
Maybe this assignment is a lot of work for anyone whether a programmer or a newbie like me. I thought that a programmer may be able to write this as easy as writting his name and address. Sorry if I was asking to much.
'Fraid you were. That's quite a lot of work.

Quote:
Originally Posted by JimR
Anyway I do appreicate your time and the respect that you show, others on this forum might try this more civillized manner of speaking to people.
I apologise for the harsh words. We get a lot of people that post their homework here and expect us to do it for them. Eventually you find you have an 'eye' for these things; I realised your post was a homework question, and assumed you wanted us to do your homework. As you might have realised, we don't do that.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Sep 11th, 2005, 6:16 PM   #12
JimR
Newbie
 
Join Date: Sep 2005
Posts: 8
Rep Power: 0 JimR is on a distinguished road
I accept

I accept.
I don't use fourms very often and this is the first time for posting a question for my class. And your right, I didn't know that many would post their homework to get it done for them. I can understand the reply better now.

Thank you

JimR
JimR is offline   Reply With Quote
Old May 28th, 2008, 1:02 PM   #13
jamesdman
Newbie
 
Join Date: Apr 2005
Location: NC,USA
Posts: 17
Rep Power: 0 jamesdman is on a distinguished road
Re: Flow chart and pseudocode assignment

For flow charts you should dl rapture. Its a great help for learning.
jamesdman is offline   Reply With Quote
Old May 28th, 2008, 1:46 PM   #14
kruptof
Professional Programmer
 
kruptof's Avatar
 
Join Date: May 2006
Location: UK - London
Posts: 330
Rep Power: 3 kruptof is on a distinguished road
Re: Flow chart and pseudocode assignment

3 years late mate.
__________________
Quote:
When I was young it seemed that life was so wonderful,a miracle, oh it was beautiful, magical.
Now watch what you say or they'll be calling you a radical,a liberal, oh fanatical, criminal. Oh won't you sign up your name,we'd like to feel you're acceptable, respectable, oh presentable, a vegetable
kruptof is offline   Reply With Quote
Old May 29th, 2008, 8:08 AM   #15
Fall Back Son
Professional Programmer
 
Join Date: Oct 2006
Posts: 258
Rep Power: 2 Fall Back Son is on a distinguished road
Re: Flow chart and pseudocode assignment

Despite being 3 years late, I want to know why Ooble thinks writing pseudocode is hard for this sort of project? lol
Fall Back Son is offline   Reply With Quote
Old Jun 9th, 2008, 4:20 AM   #16
casesensitive
Programmer
 
Join Date: Oct 2007
Posts: 41
Rep Power: 0 casesensitive is on a distinguished road
Re: Flow chart and pseudocode assignment

It's not hard. The algorithm, flowchart, and actual code for this is simple. In fact it's just basic math. All three could be done in under 10 minutes by a novice as long as they have read a couple chapters/examples in a tutorial. Its hard to understand "programming" at first, but thats only cause we are programmed to think big about everything when somethings are as simple as just writing down how you would do it in your head. I think Ooble would think its a waste of time to write the flowchart/algorithm for this. I know I feel like it would be. All it is in inputting a number and doing some math with it and outputting it.


float netPay=0
float payRate =0
float hoursWorked =0
float stateTaxes =0
float federalTaxes=0
float disappearingMoney =0

/* Since you didn't include the name of the employee in the outputs it was left out even-though you included it with the inputs.*/

input netPay
input payRate
input hoursWorked

netPay=payRate*hoursWorked
output : the gross pay is +netpay

stateTaxes=netPay*.07
federaltaxes=netPay*.22
disappearingMoney = netPay*.075

netPay= netPay-stateTaxes-federalTaxes-disappearingMoney

output : the net pay is + netPay
output : the state tax is + stateTaxes
output : the federal tax is + federalTaxes
outPut : the Social Security tax is + disappearingMoney


ummm to easy... The original poster hope you got it figured out.
The post was 3 years ago. Iaks, Hope you got your degree.
casesensitive 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 6:17 AM.

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