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

icon
Related questions
Question
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
Transcribed Image Text: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
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Follow-up Questions
Read through expert solutions to related follow-up questions below.
Follow-up Question

not in programming language in Pseudocode

 
 
 
 
 

 

Solution
Bartleby Expert
SEE SOLUTION