Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

Ask Java Expert


Home >> Java

problem 1) prepare a program which accepts account balance and name of account holder as input and it find outs the interest (balance*rate), total amount (balance + interest) and minimum payment for revolving credit line. The rate schedules are as follows:

a) For first $1000 balance the rate is 1.5%

b) For next $3000 balance, the rate is 2%, and

c) 3% on rest of the balance.

The minimum payment is as follows:

d) The total amount due if it is $10 or less;

e) Otherwise, it is $10 or 10% of the total amount (whichever is larger).

Your program must include loop, functions, and arrays which lets the user repeat this calculation until user is done.

1) prepare the function Read_data() to read the data from keyboard

2) prepare the function Get_total() to compute interest and find total amount due.

3) prepare the function Payment(), which would return minimum payment due.

4) prepare the function Display() which would create an output file and display name, account balance, total amount, and payment as shown below:

Name Balance Total Amount Payment
John Doe 5600.00 5723.00 572.3

Hints: The interest ($123.00) is computed the following way:

a) For first $1000.00, the interest is $15.00 (rate is 1.5%)

b) Next $3000.00, the interest is $60.00 (rate is 2%)

c) For the rest of the amount ($1600), the interest is $48.00 (rate is 3%)

5) prepare a function SortName() to sort the total in ascending order and display the arrays

6) prepare a function SearchName() to search the array by total and display the outcome.

7) Run your program for the following data:

John Doe 6500
Mary Doe 230
Juan Lopez 50
Larry Smith 7
Nancy Garza 30

Java, Programming

  • Category:- Java
  • Reference No.:- M94573

Have any Question? 


Related Questions in Java

Below is the beginning of a java classpublic class

Below is the beginning of a Java class. public class Implement { private String name; private boolean hasMovingParts; private String constructedFrom; public Implement() { } a) Complete this class so that: i. The instance ...

Question 1 illustrate that the nodes of any avl tree t can

Question 1. Illustrate that the nodes of any AVL tree T can be colored "red" and "black" so that T becomes a red-black tree. Question 2. Illustrate that via AVL single rotation, any binary search tree T1 can be transform ...

Develop an application in java to accept the number of

Develop an application in Java to accept the number of students in a section for a subject and for each student accept the student number, Student name, prelim marks, midterm marks, final marks. The final grade should be ...

Java- object-oriented and concurrent programmingheres a

Java- Object-Oriented and Concurrent Programming Here's a very quick overview of the projects: 1. Read a data file, create the internal data structure, create a GUI to display the structure, and let the user search the s ...

Java programmingnow that your survey class has been

Java programming Now that your Survey class has been implemented, it is time to implement the SurveyConductor application class. This class uses the Survey class to conduct a survey. First, create pseudocode to develop t ...

Animal characteristicsin todays fast-paced world it is

Animal characteristics In today's fast-paced world, it is important for programmers to think about potential future changes that impact their programs. One way that software developers can address this concern is by desi ...

1 problem overviewyou have been asked to design and

1 Problem Overview You have been asked to design and implement a training system for company directors. In the best tradition of economics, we shall start by making things up. The training system is intended to show peop ...

Write two java program by netbeans1 create a program that

Write two java program by Netbeans. 1. Create a program that ask for a radius of a circle and has the ability to return both the Area and Circumference - so methods call getArea() and getCircumferance() 2. Create a progr ...

Twitter is a popular social media platform for users to

Twitter is a popular social media platform for users to send out a short message (a "tweet") to other users who are registered as his/her followers. Figure 1 shows a graph. (The topic on graphs will be covered after your ...

The class below has some errors for each error do the

The class below has some errors. For each error do the following: a) Write the erring section of code and explain what the error is. b) Fix the error (i.e. re-write the code correctly). public class ClassWithErrors { pub ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

A cola-dispensing machine is set to dispense 9 ounces of

A cola-dispensing machine is set to dispense 9 ounces of cola per cup, with a standard deviation of 1.0 ounce. The manuf

What is marketingbullwhat is marketing think back to your

What is Marketing? • "What is marketing"? Think back to your impressions before you started this class versus how you

Question -your client david smith runs a small it

QUESTION - Your client, David Smith runs a small IT consulting business specialising in computer software and techno

Inspection of a random sample of 22 aircraft showed that 15

Inspection of a random sample of 22 aircraft showed that 15 needed repairs to fix a wiring problem that might compromise

Effective hrmquestionhow can an effective hrm system help

Effective HRM Question How can an effective HRM system help facilitate the achievement of an organization's strate