Test Case 1 == One Year Interest Calculator == \n| How much money do you have? \n 100 ENTER What's the inte rate? n rest 8.25 ENTER Interest earned: $8.25 \n New balance: $108.25 \n Test Case 2 == One Year Interest Calculator ==|\n How much money do you have? \n 13000 ENTER What's the interest rate? \n 4.25 ENTER Interest earned: $552.5 \n New balance: $13552.5 \n

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter2: Using Data
Section: Chapter Questions
Problem 2CP
icon
Related questions
Question
Write a code in Java that results like test 1&2.
Test Case 1
== One Year Interest Calculator
== \n
How much money do you have? \n
100 ENTER
What's the interest rate?
8.25 ENTER
Interest earned: $8.25 \n
New balance: $108.25 \n
Test Case 2
== One Year Interest Calculator ==|\n
How much money do you have? \n
13000 ENTER
What's the interest rate? \n
4.25 ENTER
Interest earned: $552.5 \n
New balance: $13552.5 \n
Transcribed Image Text:Test Case 1 == One Year Interest Calculator == \n How much money do you have? \n 100 ENTER What's the interest rate? 8.25 ENTER Interest earned: $8.25 \n New balance: $108.25 \n Test Case 2 == One Year Interest Calculator ==|\n How much money do you have? \n 13000 ENTER What's the interest rate? \n 4.25 ENTER Interest earned: $552.5 \n New balance: $13552.5 \n
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 4 images

Blurred answer
Knowledge Booster
Top down approach design
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT