This preview shows page 1. Sign up to view the full content.
Unformatted text preview: 3. Prompt the user to input a row number and print the sum of that row 4. Prompt the user to input a column number and print the sum of that column 5. Print the total of all elements in the array. 6. Input 0 to quit. Note: In each case, the appropriate selection should call a separate function to execute the specified task. Use a switch statement to implement this. In all cases, uses appropriate and meaningful message prompts for input and use text that fully explains your output, for example for option 5, The sum of all elements in the array is XXX. Important!!! Your program should not terminate until a 0 is input to quit!!!...
View Full Document
This note was uploaded on 02/10/2012 for the course CSC 320 taught by Professor Simmons,w during the Spring '08 term at S. Alabama.
- Spring '08
- Computer Architecture