Write pseudocode for the following program.
In how many days will I make 100 million cents (100 million cents is 1 million dollars),
if I start earnings of 1 cent on day one?
And each day I show up at work, I get double the pay.
day 1 -- 1 cent
day 2 -- 2 cents
day 3 -- 4 cents
day n -- 100 million cents
What is n?
The best way to approach your question... View the full answer
Sign up to view the full answer
total_cents = 0 daily_cents = 1 day_count = 0 while (total_cents<100000000)... View the full answer
Answer : The number of days required will be 28 . Please find pseudo code below :... View the full answer