Question: Write a Java application that prints the following table using the sqrt ( ) method in the Math class. Use a for loop to produce
Write a Java application that prints the following table using the sqrt ( ) method in the Math class. Use a for loop to produce the output results.
| Number | SquareRoot |
| 0 | 0.0000 |
| 2 | 1.4142 |
| 4 | 2.0000 |
| 6 | 2.4495 |
| 8 | 2.8284 |
| 10 | 3.1623 |
| 12 | 3.4641 |
| 14 | 3.7417 |
| 16 | 4.0000 |
| 18 | 4.2426 |
| 20 | 4.4721 |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
