![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#11 | ||
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
Quote:
Quote:
|
||
|
|
|
|
|
#12 |
|
Newbie
Join Date: Sep 2005
Posts: 8
Rep Power: 0
![]() |
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 |
|
|
|
|
|
#13 |
|
Newbie
Join Date: Apr 2005
Location: NC,USA
Posts: 17
Rep Power: 0
![]() |
Re: Flow chart and pseudocode assignment
For flow charts you should dl rapture. Its a great help for learning.
|
|
|
|
|
|
#14 | |
|
Professional Programmer
Join Date: May 2006
Location: UK - London
Posts: 330
Rep Power: 3
![]() |
Re: Flow chart and pseudocode assignment
3 years late mate.
__________________
Quote:
|
|
|
|
|
|
|
#15 |
|
Professional Programmer
Join Date: Oct 2006
Posts: 258
Rep Power: 2
![]() |
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
|
|
|
|
|
|
#16 |
|
Programmer
Join Date: Oct 2007
Posts: 41
Rep Power: 0
![]() |
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. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|