* Implement the method that takes in two numbers as input arguments: an account * balance…

* Implement the method that takes in two numbers as input arguments: an account

* balance (rounded to two decimal points) and an annual interest rate expressed

* as a percentage. The method return string indicated the balance after five

* years have elapsed. The return blance after five years should be rounded to

* two decimal points See examples below. Note that the interest from the first

* year is added back to the bank balance and is, therefore, itself subject to

* interest in the second year, and so on.

*

*

* Examples:

*

*

*

* if balance=6000.00 and interest=4.25 then return "The balance was 6000.00 with interest 4.25, after five years balance is 7388.08"

* if balance=3000.00 and interest=3.50 then return "The balance was 3000.00 with interest 3.50, after five years balance is 3563.06"

* if balance=4000.00 and interest=2.25 then return "The balance was 4000.00 with interest 2.25, after five years balance is 4470.71"

*

*

*

* Remember that double quotations are shown above to indicate the beginning and

* end of the string value, and these double quotations are not part of the

* return value.

*

* Make sure the method compiles without errors and returns the correct result

* when invoked.

*

* @param balance : input balance

* @param interest : an annual interest rate expressed as a percentage. rounded

* to two decimal points

* @return String value as shown in the examples above

*/

public static String fiveyearbalance(double balance, double interest) {

/* Your implementation of this method starts here.

* Recall that :

* 1. No System.out.println statements should appear here.

* Instead, you need to return the result.

* 2. No Scanner operations should appear here (e.g., input.nextInt()).

* Instead, refer to the input parameters of this method.

*/

and this

/**

* Implement the method that converts a Fahrenheit degree to Celsius using the

* formula celsius = (5/9) (fahrenheit – 32).

*

* The method receives temperature degrees in Fahrenheit and returns string

* value as shown below in the examples. The celsius degree is rounded to two

* decimal points.

*

* Examples:

*

*

*

* if fahrenheit=100.0 then return "Fahrenheit 100.0 is 37.78 in Celsius"

* if fahrenheit=10.0 then return "Fahrenheit 10.0 is -12.22 in Celsius"

* if fahrenheit=150.0 then return "Fahrenheit 150.0 is 65.56 in Celsius"

*

*

* Remember that double quotations are shown above to indicate the beginning and

* end of the string value, and these double quotations are not part of the

* return value.

*

* Make sure the method compiles without errors and returns the correct result

* when invoked.

*

* @param fahrenheit input temperature value as double

* @return string value, see above examples

*/

public static String temperature(double fahrenheit) {

/* Your implementation of this method starts here.

* Recall that :

* 1. No System.out.println statements should appear here.

* Instead, you need to return the result.

* 2. No Scanner operations should appear here (e.g., input.nextInt()).

* Instead, refer to the input parameters of this method.

*/

Place your order
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more
error: Content is protected !!