Question: Pseudocode Problem Description: Write a program that opens a Customer Bank Account and then displays the Customer Bank Account Information. get input for: initial deposit

 Pseudocode Problem Description: Write a program that opens a Customer BankAccount and then displays the Customer Bank Account Information. get input for:

Pseudocode Problem Description: Write a program that opens a Customer Bank Account and then displays the Customer Bank Account Information. get input for: initial deposit use the Math.random() method to generate the bank Account number (section 3.7) range between 1 - 100 set the interestRate (no longer a named constant like last weeks lab) based on the initial deposit: 0-$100 (inclusive) -> interest rate = .025; $100.01 - $500 (inclusive) -> interest rate = .035; $500.01 - $1000 (inclusive) -> interest rate = .045; anything over $1000.00 -> interest rate = .05. output all the account information: account number, initial deposit and a calculation of future balance in 1 year (assuming no deposits or withdraws - this just gives the bank customer an idea of how their money can grow in 1 year). *Hint: consult text section 3.5 Nested if and Multi-Way if-else Statements and Figure 3.3b, to set interestRate Flowchart Start "Enter Deposit" GET deposit account - random B Yes No deposit 100 Yes deposit 500 NO interestRate .025 Yes No interestRate .035 deposit = 1000 interestRate .045 interestRate -.050 futureBalance deposit * (1- interestRate) 12 PUT Acct no:" + acet PUT "Initial Deposit: + deposit PUT Interest Rate" + INTERESTRATE PUT "Accumulated value in 1 year futureBalancer End

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!