Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started