(c) Write an appropriate C code snippet which captures the following situation: i. Create an array called myArray which
Posted: Thu May 05, 2022 1:15 pm
(c) Write an appropriate C code snippet which captures the following situation: i. Create an array called myArray which has 3 rows and 4 columns as shown below. ii. Assign the values 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21 and 25 to myArray using loops and calculate the sum of the values in the array. You may consider myArray to look like this: 1 3 5 7 9 13 15 17 21 25 [14 Marks] 11 19