(data processing)
a.Write a program to input 10 integer numbers is an array named fmax and determine the maximum value entered. your pro gram should contain only one loop,and the maximum should be determined as array element values are being input.
(hint:set the maximum equal to the frist array element.which should be imput before the loop used to input the remaining array values)
b.Repeat Exercise a,keeping track of both the maximum element in the array and the index number for the maximum .After displaying the number,print these two massages(replacing the underlines wieh the correct values):
The maximum value is:______
This is element number ____ in the list of numbers
c.Repeat Exercise b,but have your program locate the minimum of the data entered.