calculates and displays the amount of money

Modify your program logic from Week 7, Topic 2 Investment Method and Week 8, Topic 1 Return on Investment Method. Create the logic for a program that calculates and displays the amount of money you would have if you invested $1000 at 5 percent interest for one year. Create a method to do the calculation that accepts as parameters the principal and the interest rate, then returns the calculated amount. You will need to declare the variables within the main body of the program so you can pass them to the method. In the main code body, call the method with the parameters and display the output. P.S.

The post calculates and displays the amount of money appeared first on My Assignment Online.

WeCreativez WhatsApp Support
Our customer support team is here to answer your questions. Ask us anything!
šŸ‘‹ Hi, how can I help?
Scroll to Top