Question: Assignment #2 Write a complete program that will create a table as follows: The table will have 4 columns headed by: NUMBER, SQUARE, SQROOT, and

 Assignment #2 Write a complete program that will create a table
as follows: The table will have 4 columns headed by: NUMBER, SQUARE,

Assignment #2 Write a complete program that will create a table as follows: The table will have 4 columns headed by: NUMBER, SQUARE, SQROOT, and FRTHROOT defined as follows: NUMBER SQUARE SQROOT FRTHROOT generate the odd numbers from 5 to 25 (inclusive) the square of the number the square root of the number in the NUBMER column the fourth root of the number in the NUBMER column (the square root of the square root). After the table has printed, skip several lines and print the following: The number of numbers. The sum of the numbers. The sum of the squares. The sum of the square roots. The sum of the fourth roots. SAMPLE OUTPUT NUMBER SQUARE SQROOT FRTHROOT 25 1.50 1.63 2.24 2.65 3.00 3.32 3.61 1.73 169 225 1.97 289 361 ONNO The number of numbers is 11. The sum of the numbers is 165. The sum of the squares is 2915. The sum of the square roots is 14.54. The sum of the fourth roots is 21.23. NOTES ON PROGRAM SUBMISSIONS 1. You must use the standard heading (refer to previous assignments) on your source page. 2. Use meaningful variable names. 3. Staple all pages together (source program with header at the top). 4. Use comments, blank lines and indentation patterns discussed in class

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!