Question: Q1. Write one program with all the following functionality. (a) Initialize an array arr with the values {10,20,30,40,50,603. Reverse the array contents. Print the original

 Q1. Write one program with all the following functionality. (a) Initialize

Q1. Write one program with all the following functionality. (a) Initialize an array arr with the values {10,20,30,40,50,603. Reverse the array contents. Print the original and reversed arrays. [5] (b) Write a function sum_even to return true if the sum of the array values that are greater than 32 in the array arr of 1(a) above exceeds 140. Test your function. [5] fc) Declare an array of char called arr_char. Initialise the array to have the letters a, B.C.D.,7,9,1. Write code to count and print the number of vowels in the array. [5] 01 TOTAL 15 MARKS

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!