Question: Write a program that declares a two-dimensional array named myFancyArray of the type double. Initialize the array to the following values: 23, 14.12, 17,85.99, 6.06,

Write a program that declares a two-dimensional array named myFancyArray of the type double. Initialize the array to the following values:

23, 14.12, 17,85.99, 6.06, 13, 1100, 0, 36.36, 90.09, 3.145, 5.4

1. Create a function that will return the sum of the third column. Output this result.

2. Create a function that finds the ceiling [the closest whole number that is not smaller than that number. So ceil(4.6) is 5 and ceil(4.2) is 5, and ceil(-3.4) is -3 ]of each value in the array.

3. Create a function that will use a nested loop to display all the elements in the array to the screen.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To solve this problem we will write a program in a language like Python that will address each part ... View full answer

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!