Calculate interest application

Assignment Help JAVA Programming
Reference no: EM131592010

Calculate Interest Application

This exercise will provide you with the opportunity to utilize NetBeans to create an application that calculates interest.
End Result: Console

1037_Q.jpg

Objective
- The application prompts the user to enter a loan amount and an interest rate.
  -The application calculates the interest amount and formats the loan amount, interest rate, and interest amount. Then, it displays the formatted results to the user.
- The application prompts the user to continue.

Directions
Create a new application and name it LastName_Assignment2.

Create the Scanner object.

Get the loan information from the end user by using the System class.

Calculate the interest amount by using the BigDecimal class to make sure that all calculations are accurate.

Format the interest rate, interest amount and loan amount and interest by using the NumberFormat abstract base class. It should round the interest that's calculated to two decimal places, rounding up if the third decimal place is five or greater. The value for the formatted interest rate should allow for up to 3 decimal places.
Display the results by using the System class.

Assume that the user will enter valid double values for the loan amount and interest rate.

The application should continue only if the user enters "y" or "Y" to continue.

Attachment:- Assignment.rar

Reference no: EM131592010

Questions Cloud

Define criminal justice using proper writing mechanics : Write clearly and concisely about criminal justice using proper writing mechanics.
Designing a solution for a programming problem : What are the three biggest challenges in planning and designing a solution for a programming problem? What can you do to overcome these challenges
Exploration of research application regarding management : This case study continues the exploration of research application regarding management issues and decision-making.
How much cash was collected in specified year on contract : (Analysis of Percentage-of-Completion Financial Statements) In 2014, Steinrotter Construction Corp. began construction work under a 3-year contract.
Calculate interest application : Create the Scanner object - Calculate the interest amount by using the BigDecimal class to make sure that all calculations are accurate
Discuss how influence how the public views jails in the u.s : Using the material from the course, discuss how shows like this one and this episode can influence how the public views jails in the U.S
Colleagues on a revision of institution : You are working with two colleagues on a revision of your institution's introductory psychology sequence. The courses in question are two 16-week
Health information management functions : Select one of the health information management functions or tasks (previously studied in HIT141 and Chapter 7 of Sayles: "Health Information Functions").
Recognition of profit on long-term contracts : During 2014, Nilsen Company started a construction job with a contract price of $1,600,000. The job was completed in 2016.

Reviews

Write a Review

JAVA Programming Questions & Answers

  Design a class named large integers

Design a class named largeIntegers such that an object of this class can store an integer of any number of digits.

  Accepts a scanner representing an input file

Write a method in JAVA called stripHtmlTags that accepts a Scanner representing an input file containing an HTML web page as its parameter, then reads that file and prints the file's text with all HTML tags removed. A tag is any text between the c..

  Methods and best practices for conducting a code review

Use the information in the web article Effective Code Reviews Without the Pain for methods and best practices for conducting a code review, and tips for conducting the review remotely

  Describe a multidimensional array

Describe a multidimensional array for a summer camp, the first array would be the number of kids say 30, then it would break them up by ages 6-9 (4 different groups) and lastly by sex m or f.

  Develop a trivial console-based interactive question

COS30016/HIT3037 Programming in Java - Develop a trivial console-based interactive question and answer (aka Multiple Choices Question - MCQ) application. This application allows users to create, manage and attempt multiple choice questions. The use..

  Lydia runs a small nail salon in the town of new hope

1. Lydia runs a small nail salon in the town of New Hope. She is debating whether she should extend her hours of operation. Lydia figures that her sales revenue will depend on the number of hours the nail salon is open as shown in the table above. Sh..

  Write an executable program with java

calculates the cost of the baggage when the weight of the baggage is stated by the operator. The baggage cost should differ from city to city

  Java program that allows the user to enter a letter

Write a java program that allows the user to enter a letter (as a code) and a real number (as the radius of a circle). If the letter is 'A' your program must calculate the area of the circle. If the letter is 'C' your program must calculate the ci..

  Compute the amount of money earned

If you invest the amount of P at R% interest rate annually. In N years, your investment will be P[1-(R/100)N+1] / (1 – R/100). Accepts the input of P, R and N and compute the amount of money earned after N years using computer currency forma..

  What is the output of this code segment

What is the output of this code segment - In one short English sentence describe the task accomplished by this method.

  Important java interfaces and state their objectives

Can you list down some important Java Interfaces and state their objectives?

  Create a bagel game app using given instruction

In theory, you should be able to guess the number in 8 moves. If you don't guess the number in 20 moves then you lose. Just follow the instruction to create a bagel app. theres no question for it.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd