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.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment