Your Perfect Assignment is Just a Click Away

We Write Custom Academic Papers

100% Original, Plagiarism Free, Customized to your instructions!

glass
pen
clip
papers
heaphones

3 JAVA problems

3 JAVA problems

The following are three projects. Make three separate classes. Example
You must submit three java files. No Zip file will be allowed.
Problem 1:
Write a program that accepts an amount of money on deposit and a number of years it has been on deposit (years can have decimals). It will determine the interest to be paid on the deposit based on the following schedule:
Time on Deposit                                                   Interest Rate
            >= 5 years                                                                    4.5%
            Less than 5 and >=4 years                                            4%
            Less than 4 and >=3 years                                            3.5%
            Less than 3 and >=2 years                                            2.5%
            Less than 2 and >=1 years                                            2%
            Less than 1 year                                                           1.5%
Compute the interest with the formula: Interest = Deposit * IntRate * Years.
Display the original deposit, the interest earned, and the new Balance (with interest added to the deposit.  
Problem 2:
Write a program with a loop that lets the user enter a series of integers. The user should enter -99 to signal the end of the series.  After all the numbers have been entered, the program should display the largest and smallest numbers entered, as well as the average of all the numbers entered.  Assume the initial value of the smallest number and the largest number is -99 and the initial average is 0.0.  Make sure the average prints out to two decimal places.
Problem 3
For a quadratic equation ax2+bx+c = 0 (where a, b and c are coefficients), its roots are given by the formula:-
The value of the discriminant (b2-4ac) determines the nature of roots.  Write a program that reads the values of a, b and c from the user and performs the following:-

If the value of the discriminant is positive, the program should print out that the equation has two real roots and prints the values of the two roots. 
If the discriminant is equal to 0, the roots are real and equal.
if the value of the discriminant is negative, then the equation has two complex roots.

Sample Output
Enter values for a, b and c:- 2 10 3
Discriminant = 76
Equation has two real roots
Roots are as follows:-
x1 = -0.320551
x1 = -0.320551
Any character to end:-

Order Solution Now

Our Service Charter

1. Professional & Expert Writers: Blackboard Experts only hires the best. Our writers are specially selected and recruited, after which they undergo further training to perfect their skills for specialization purposes. Moreover, our writers are holders of masters and Ph.D. degrees. They have impressive academic records, besides being native English speakers.

2. Top Quality Papers: Our customers are always guaranteed of papers that exceed their expectations. All our writers have +5 years of experience. This implies that all papers are written by individuals who are experts in their fields. In addition, the quality team reviews all the papers before sending them to the customers.

3. Plagiarism-Free Papers: All papers provided by Blackboard Experts are written from scratch. Appropriate referencing and citation of key information are followed. Plagiarism checkers are used by the Quality assurance team and our editors just to double-check that there are no instances of plagiarism.

4. Timely Delivery: Time wasted is equivalent to a failed dedication and commitment. Blackboard Experts is known for timely delivery of any pending customer orders. Customers are well informed of the progress of their papers to ensure they keep track of what the writer is providing before the final draft is sent for grading.

5. Affordable Prices: Our prices are fairly structured to fit in all groups. Any customer willing to place their assignments with us can do so at very affordable prices. In addition, our customers enjoy regular discounts and bonuses.

6. 24/7 Customer Support: At Blackboard Experts, we have put in place a team of experts who answer to all customer inquiries promptly. The best part is the ever-availability of the team. Customers can make inquiries anytime.