Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

java 3. [13 points] Submit bankAccount.java Pseudocode Problem Description: Write a program that opens a Customer Bank Account and then displays the Customer Bank Account

java image text in transcribed
image text in transcribed
image text in transcribed
3. [13 points] Submit bankAccount.java Pseudocode Problem Description: Write a program that opens a Customer Bank Account and then displays the Customer Bank Account Information. get input for: account number, initial deposit amount (refer to section 2.3 Reading Input from the Consol Scanner library (API)) use a named constant: INTEREST RATE and set it to.0425 (i.e. 4.25%) (refer to section 2.7) output all the account information: account number, initial deposit, INTEREST RATE, 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). (Refer to section 2.9.3) How to calculate futureBalance: Compound Interest: A = P(1+r)nt Where: P: your principal deposit, or the original balance of your account . r: the interest rate of your account in decimal format . n: the number of times your bank compounds interest in a year . t: the time, in years, you want to calculate for A: the amount of money you'll have in your bank account after interest is paid Therefore: Therefore: futureBalance - initialDeposit (1 + INTERESTRATE/12) 1years 12 Hint: Use the Math.pow(a, b) method to compute a raised to the power of b. Here is a sample run: Enter Account number: 123 Enter investment amount: 1000 Output: Acct no: 123 Initial Deposit: 1000 Accumulated value in 1 year 1043.34 //Use comments to describe the problem including input and output in your own words. Flowchart of logic - notice "Sequence Structures" - we execute one line of code then the next then the next, in a "Sequence" main Flowchart of logic - notice "Sequence Structures" - we execute one line of code then the next then the next, in a "Sequence" main Start INTERESTRATE 0425 "Enter New Account Number" GET st "Enter Deposit GET deposit futureBalance - depost (1 + INTERESTRATE 12) PUT Acct no: acct PUT 'Initial Deposit + deposit PUT "Interest Rate INTERESTRATES PUT "Accumulated value in 1 year future Balance End

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

OCA Oracle Database SQL Exam Guide Exam 1Z0-071

Authors: Steve O'Hearn

1st Edition

1259585492, 978-1259585494

Students also viewed these Databases questions

Question

What shorter and longer-term career goals spark your interest?

Answered: 1 week ago