Using the variables mentioned above write one C input statem
Solution
In this question, you are not mentioned any variables so assume signal and pi.
For 1) your necessity initialize a total variable to 0. Every number that is read in use if ((number >0) && (number < 5)) total += number
2) retain a max value set to 0 then if (number > maxVal) maxVal = number. After N numbers, then you want maxVal % N
3) you want a total variable again and a count. Increment count each time number > 2 and add number to the total. Later you will get all the numbers average = total/count
4) factorial is computed by using a loop that goes from one to last number and multiplying a successively total by the existing value of the loop index
5) it is essential to an array of three integers, insert the first three numbers into the consistent element of the array. You can use if declarations to compare the values and print the order.
6) A tiny trickier, this is how you have done it.
int lastNumbers[3];
int lastNumIndex = 0;
while getting the numbers
lastNumbers[lastNumIndex++] = number;
if (lastNumIndex == 3) lastNumIndex = 0;
end while

