Write a java application that uses the math class to


Problem

Write a Java application that uses the Math class to determine the answers for each of the following:

1. The square root of 37

2. The sine and cosine of 300

3. The value of the floor, ceiling, and round of 22.8

4. The larger and the smaller of the character D and the integer 71

5. A random number between 0 and 20 (Hint: The random() method return a value between 0 and 1: you want a number that is 20 times larger.)

6. Create an algorithm and flowchart for the program.

Solution Preview :

Prepared by a verified Expert
Computer Engineering: Write a java application that uses the math class to
Reference No:- TGS02660079

Now Priced at $25 (50% Discount)

Recommended (97%)

Rated (4.9/5)