Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Business Management Expert

initialBalance = float(input("Enter initial balance: "))

if initialBalance < 0:

  print ("ERROR: Please enter a positive balance. ")

else

print ("Balance", initialBalance)

sum = initialBalance

for i in range(1, 11):

  print (initialBalance * 0.05)

  sum += i

print(sum) 

Question: This is the code I have as of right now, I am trying to figure out a for loop that would, given two things: a balance and that interest rate of 5% is implemented every year for 10 year, to calculate and print the balance at the end of each year for 10 years. And if the balance that the user gives us is negative the program must give an error and tell them to enter a positive number.

Business Management, Management Studies

  • Category:- Business Management
  • Reference No.:- M92523705
  • Price:- $10

Priced at Now at $10, Verified Solution

Have any Question?


Related Questions in Business Management

A us owned automobile factory uses 50 million worth of

A US owned automobile factory uses $50 million worth of materials produced in the US and $10 million worth of material purchased from foreign countries to produce $100 million worth of automobiles. $70 million worth of a ...

What are the similarities of organizational and

What are the similarities of organizational and environmental pressures?

Provide an example of an organization that has achieved

Provide an example of an organization that has achieved competitive success through planning and provide an example of an organization that has failed to achieve competitive success as the result of failed planning.

For this weeks discussion please read the above link titled

For this week's discussion, please read the above link titled "Managing Special Event Risks". After reading the authors' points on executing an event and developing a proper risk management safety plan, what areas of ris ...

What is a concrete example that demonstrates the

What is a concrete example that demonstrates the relationship between objectives and goals?

When alice spends the day with the babysitter there is a 05

When Alice spends the day with the babysitter, there is a 0.5 chance she turns on the TV and watches a show. Her little sister Betty cannot turn on the TV by herself. But once the TV is on, Betty watches with probability ...

How is vision used to confront resistance to change and

How is vision used to confront resistance to change, and move through it? How can a shared vision possibly facilitate collaboration or ultimately the successful implementation of a change initiative?

Discuss the different characteristics of a group goal

Discuss the different characteristics of a group (goal orientation, interdependent, interpersonal interaction, perception of membership, structured relations, mutual influence, and individual motivation) and give example ...

Describe the crawl-walk-run cwr metaphor for leader

Describe the Crawl-walk-run (CWR) metaphor for leader development?

Please elaborate your understanding about how rfid and nfc

Please elaborate your understanding about how RFID and NFC work. What are the current security considerations and challenges?

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As