Posts

Showing posts from July 24, 2012

Array programming

Write a C Program to fill up an Integer Array. The length of the array must take from the terminal. After fill up the array do the following operations. i)                     Print the array with label formatting. ii)                    Count the number of values inside the array. iii)                  Count the number of odd values. iv)                  Count the number of even values. v)                   Sum all the odd values. vi)                  Sum all the even values. vii)                Calculate the average. viii)               Find the largest value. ix)                  Find the smallest value. << Go to Index Page >>