Computing.Net > Forums > Programming > pseudocode help. I am so stuck

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

pseudocode help. I am so stuck

Reply to Message Icon

Name: hojo81381
Date: October 30, 2009 at 10:05:08 Pacific
OS: Windows XP
Subcategory: General
Tags: pseudocode, software design
Comment:

I have been stuck on this problem in my software design class and I hate going in these places and looking stupid but my professor had a family emergency and my homework is due tomorrow night.


Design a program in pseudocode that calculates the amount of money a person would earn over a period of time if their salary is one penny the first day, and then doubles each day. The program should ask the user for the number of days. Display what the salary was for each day, and then show the total pay for the end of the period. The output should be displayed in dollar amount, not number of pennies.



Sponsored Link
Ads by Google

Response Number 1
Name: Razor2.3
Date: October 30, 2009 at 10:24:11 Pacific
Reply:

The program should ask the user for the number of days.
their salary is one penny the first day,
then [his salary] doubles each day.
calculates the amount of money
The output should be displayed in dollar amount, not number of pennies.
Display what the salary was for each day,
show the total pay for the end of the period.

There, I reordered the statements. Now what are the individual steps for each part?


0
Reply to Message Icon

Related Posts

See More






Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: pseudocode help. I am so stuck

Dec to Bin in C. I am so close! www.computing.net/answers/programming/dec-to-bin-in-c-i-am-so-close/8309.html

pseudocode help www.computing.net/answers/programming/pseudocode-help/3933.html

Stuck on GW-Basic! Help please! www.computing.net/answers/programming/stuck-on-gwbasic-help-please/3689.html