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: | 398 Weeks Ago, 3 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
I need help with this simple coding activity. I will award full points to the first person whos code works. I would appreciate it if you included a small explanation of what it is you're doing so that I can understand.
Â

Show transcribed image text You have a 2D array of integers, as seen in the main Function. The program will prompt the user for a single integer. You must add the user's value to each of the values in the 2D array using the 'add Value' Function, as seen in the main Function. Then, write the 'print' Function to print out the values in the array with each row of the array on its own line, and each number in each row separated by a single whitespace. NOTE: You should NOT print a whitespace after the last number on each line. Example: Input: 2 Output: 7 6 25 1
Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------and----------- ac-----------qui-----------sit-----------ion----------- of----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n.P-----------lea-----------se -----------pin-----------g m-----------e o-----------n c-----------hat----------- I -----------am -----------onl-----------ine----------- or----------- in-----------box----------- me----------- a -----------mes-----------sag-----------e I----------- wi-----------ll