Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Project Outcomes - Develop a Java program that: Reads input from the keyboard using a Scanner Object and its methods uses selection (if and if

image text in transcribed
Project Outcomes - Develop a Java program that: Reads input from the keyboard using a Scanner Object and its methods uses selection (if and if else) statements use iteration (looping) follows standard acceptable programming practices. Prep Readings: zy Books chapter 1 - 4 Project Requirements: 1. Write a Java program named InterestCalculator.java that calculates the value of a bank account based on starting principle, interest rate and time. 2. The program must a. Prompt the user for i. Number of quarters to display (int) that is greater than zero and less or equal to 10 ii. Starting balance (double) that is greater than zero. m. Interest rate (double) that is greater than zero and less than or equal to 20% b. Display the information the user entered and ask if it is correct. If so continue, if not ask for all the information again (loop and half example in Addition Iteration examples). c. Calculate the ending balance for each quarter and display the results in a table similar to below, the formula for quarterly balance is b+ (6 * IR/100 * 25) where b is starting balance and IR is interest rate : B 1000 Enter number of quarters from 1 to 10 Enter the beginning principal balance greater than o Enter the interest rate percentage without the percent sign greater than 0% and less than/equal to 203 5.25 You entered a principal balance of $1000.00 for 8 quarters at 5.259 1 Is this correct? (y) Quarter Number Beginning Balance $1000.00 $1013 Interest Earned $13.13 $13.30 Ending Balance $1013.13 S102642

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

Database Concepts International Edition

Authors: David M. Kroenke

6th Edition International Edition

0133098222, 978-0133098228

More Books

Students also viewed these Databases questions

Question

What is digital literacy? Why is it necessary?

Answered: 1 week ago