CIST 1305 UNIT 09 DROP BOX ASSIGNMENT 1. Create the logic for a program that calculates and displays the amount of money you would have if you invested $5000 at 2 percent simple interest for one year. Create a separate method to do the calculation and return the result to be displayed. Structure Hint: start Declarations num variable to store amount calculated variable to store amount calculated method to do calculation () output "After one year the balance is ", variable to store amount calculated stop num method to do calculation () Declarations num variable to store amount calculated num constant for principal amount num constant for interest rate variable to store amount calculated = constant for principal amount (1+constant for interest rate) return variable to store amount calculated
CIST 1305 UNIT 09 DROP BOX ASSIGNMENT 1. Create the logic for a program that calculates and displays the amount of money you would have if you invested $5000 at 2 percent simple interest for one year. Create a separate method to do the calculation and return the result to be displayed. Structure Hint: start Declarations num variable to store amount calculated variable to store amount calculated method to do calculation () output "After one year the balance is ", variable to store amount calculated stop num method to do calculation () Declarations num variable to store amount calculated num constant for principal amount num constant for interest rate variable to store amount calculated = constant for principal amount (1+constant for interest rate) return variable to store amount calculated
Related questions
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images
Follow-up Questions
Read through expert solutions to related follow-up questions below.