(c) Write an appropriate C code snippet which captures the following situation: i. Create an array called myArray which
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
(c) Write an appropriate C code snippet which captures the following situation: i. Create an array called myArray which
(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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!