The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | May 2017 |
| Last Sign in: | 408 Weeks Ago, 4 Days Ago |
| Questions Answered: | 66690 |
| Tutorials Posted: | 66688 |
MCS,PHD
Argosy University/ Phoniex University/
Nov-2005 - Oct-2011
Professor
Phoniex University
Oct-2001 - Nov-2016
For the array matrix declared in Self-Check Exercise 1, do the following:
a. Write a loop that computes the sum of the elements in row 4.
b. Write a loop that computes the sum of the elements in column 3.
c. Write nested loops that compute the sum of all the array elements.
d. Write nested loops that display the array elements in the following order: display column 3 as the first output line, column 2 as the second output line, column 1 as the third output line, and column 0 as the fourth output line.
Exercise 1:
Assuming the following declarations

answer these questions:
a. How many elements are in the array matrix?
b. Write a statement to display the element in row 3, column 4.
c. How would you reference the element in the last column of the last row?
d. How would you reference the element in the exact middle of the array?
Â
Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------acq-----------uis-----------iti-----------on -----------of -----------my -----------pos-----------ted----------- so-----------lut-----------ion-----------.Pl-----------eas-----------e p-----------ing----------- me----------- on-----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be-----------