Sunday, July 12, 2009

This is a c program problem: Thanks a lot for those who'll help.:)?

Given an array of 50 random numbers in the range 1...100. write a function for each of the following process:


a]printf the array ten(10) values to a line.make sure that the valuies are aligned in rows.


b]print the even values, ten to a line, and return a count of the number of even numbers.


c]Return the location of the smallest value in the array. if the smallest number appeared more than once, display all the locations where the smallest number is found.


No comments:

Post a Comment