Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please help me to get the right answer. please work only on my code. i dont need a new example. just tell me how to

please help me to get the right answer. please work only on my code. i dont need a new example.

just tell me how to fix it to get the right answer. For 15 days the total pennies should be 32767. Note: I had 32768 in error.

image text in transcribedimage text in transcribed

image text in transcribed

Complete the Pay with Pennies Desktop Application Described Here Mary's employer has agreed to pay her with pennies by paying 1 penny for the first day, 2 pennies for the second day. 4 pennies for the third day, 8 pennies for the fourth day, continuing to double the pay each day. similar to this image. Number of days Total Pennies Number of days: Total Pennies

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional SQL Server 2012 Internals And Troubleshooting

Authors: Christian Bolton, Justin Langford

1st Edition

1118177657, 9781118177655

More Books

Students also viewed these Databases questions