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
To solve this problem we will write a program in a language like Python that will address each part ... View full answer
Get step-by-step solutions from verified subject matter experts
