Java —There are 3 parts to e

 Java —There are 3 parts to each question.  Please give me the code for all the 3 parts . Any kind of help is appreciated . Thank you.  

Question 1 : 

Write an application that converts temperatures between the Fahrenheit and Celsius scales.

The interesting aspect of the application is that the input controls which direction (i.e., calculation) to calculate. The user is
prompted to enter both the temperature and the scale it is in (as the words “Cel” or “Fahr” in upper, lower, or mixed case);
if the scale is invalid, display an error message. The result is the conversion in the alternate scale (see examples).

Formulas: F → C: (F – 32) * (5/9) = C
C → F: C * (9/5) + 32 = F

OUTPUT:

Run 1:

Temperate and scale: 10.10 Cel
Conversion: 50.18 Fahrenheit

Run 2 :

Temperate and scale: -40.0 FAHR
Conversion: -40.00 Celsuis

Part 1
-Complete a well-structured & well-written program as described above.

-You can include methods that help reduce the complexity
of the main() method. Include commenting, and test with sufficient values to ensure the program works as expected (and consider
“simple” values, such as 0.0, 1.0, and -40.0, in both directions, to clearly show calculations are correct).

-Capture the output of running this program with your test values.

Part 2
Save as a new application name, and adjust the program to perform an “automatic” and random calculation:

– Rather than ask the user, the program randomly selects: a) temperature (between -10 and +10); and b) scale (“Fahr” or “Cel”)

– Display the random temperature and scale, perform the appropriate calculation, and display the result.

-Capture the output of running this program 5 or 6 times.

Part 3
Adjust the program from Part 2, with the following,

– Prompt the user for the “number of random calculations” (# of iterations)

– Use this value to perform the “automatic” calculation program that many times, generating a new random temperate and scale for each iteration.

-Capture the output of running this program with a couple of different values for # or iterations.

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