Question: Your task is the create the algorithm or flowchart for the following tasks Task #1 - a. Write a program that will create two one-dimensional
Your task is the create the algorithm or flowchart for the following tasks Task #1 - a. Write a program that will create two one-dimensional arrays with the names. Array 1, Array 2 of integer data type with 8 elements. Initialize the arrays with 0's when they are declared. b. Display the contents of Array 1 and Array 2. Task #2 - Modify Task # 1 program so that it will do the following a. Prompt the user to enter the following numbers in Array 1 11, 17, 34, 6, 20, 10, 4, 9 b. Display the contents of Array 1 c. Use the random number generator to add the 8 numbers in Array 2 between 4 to 20. d. Display the contents of Array2 Task #3 - Modify Task #2 program that will do the following a. Create 2 additional 8-element integer arrays name sumArray and productArray. b. initialize the arrays with 0's c. Display the contents of sumArray and productArray d. Add the contents of Array 1 and Array 2 and store in sumArray e. Display the contents of sumArray f. Multiply the contents of Array 1 by Array 2 and store in productArray g. Display the contents of productArray Task #4 - a. Find the largest number in sumArray and display it b. Find the smallest number in productArray and display it Task #5 - a. Write a program that will create a two-dimensional 8 times 8-character array name boardArray and initialize the array with *'s when it is declared. b. Display the contents of boardArray
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
