Question: Develop a C# console application that prints the following table using the method in the Math class to compute a square root for each even

Develop a C# console application that prints the following table using the method in the Math class to compute a square root for each even number from 0 to 20 followed by output of squares of even numbers from 0 to 20 using the method in the math class. Use for loops to produce the following 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 Number Square 0 0.0000 2 4.0000 4 16.0000 6 36.0000 8 64.0000 10 100.0000 12 144.0000 14 196.0000 16 256.0000 18 324.0000 20 400.0000 Press any key to continue . . .

Name the .cs file Assignment_4_yourlastname and submit it to the link below.

Submit only the .cs file with your code in it.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!