Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a New Project called YourLastNameCalculateInterest . If you know the balance and the annual percentage interest rate, you can compute the interest on the

Create a New Project called YourLastNameCalculateInterest.

If you know the balance and the annual percentage interest rate, you can compute the interest on the next monthly payment using the following formula:

interest = balance X (annualInterestRate / 1200)

Write a program that reads the balance and the annual percentage interest rate and displays the interest for the next month in two versions:

Use dialog boxes to obtain input from the user and display output;

Use the console to obtain input from the user and display output.

Be sure to provide clear prompts to the user, so that input is entered correctly.

Sample Data:

Balance = 100000 Annual Interest Rate = 4.625 Interest = 385.41

PROGRAMMING GUIDELINES: A programming assignment will be assigned a grade of 0 if it fails to compile. Each program must not contain any spelling errors in the program output or points will be deducted. Each program must contain a comment section (or points will be deducted) that indicates the following: 1. Student Name 2. Program Name 3. Short Program Description 4. Due Date Programs should use appropriate spacing and indentation, in order to increase readability. Programs should only be completed in Eclipse. Use comments for clarification throughout your programs. Use meaningful variable names. Subdivide your program into mini-sections. For more difficult programs, this will make it easier to detect both syntax and logical errors. Naming Convention for mutator methods: set + fieldname (i.e. setName) Naming Convention for accessor methods: get + fieldname (i.e. getName)

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

More Books

Students also viewed these Databases questions