Question: 1. Write a program that reads the size and elements of an float array from user and then computes the average of the numbers

1. Write a program that reads the size and elements of an 

1. Write a program that reads the size and elements of an float array from user and then computes the average of the numbers in it and prints it. Then it should compute number of elements which are greater than average and prints those elements. [10| Sample input/output: Enter array size: 5 Enter elements: 12 13 16 15 14 Average = 14.000000, The elements greater than average are: 16, 15 2. Write a C program to put even and odd elements of an array in two separate arrays and show them. 101 Sample input/output: Input size of the array: 10 Input elements in array: 0123 456789 Even elements in array: 02468 Odd elements in array: 13579 3. Write C program to count the number of capital letters and the number of small letters in an input string and print those numbers. 4. Write a C program that reads a string, create a new string containing all the characters of the input string except the vowels in it, and then prints the new string. [10] Sample input/output: Enter a string: Hello how are you? Output string: HIl hw ry? 5. Write a function that returns the number of times a value appears in an array. [10] int countsearchkey (int arr(1, int size, int key) : Sample Output 1: Sample Output 2: Enter array size: 5 Array Elements: 7 3 4 81 Search Key: 4 Search Key appears 1 times Enter array size: 7 Array Elements: 23 292 10 6 Search Key: 2 Search Key appears 3 times

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

1 include int main int n printf Enter array size scanf dn float arr... View full answer

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 Computer Engineering Questions!