Write a program to find the numbers which are greater than the given number from an array.
Answers
Answered by
0
Answer:
The program output is also shown below. * C Program to Find the Largest Number in an Array. int array[50], size, i, largest; printf("\n Enter the size of the array: "); scanf("%d", &size); printf("\n Enter %d elements of the array: ", size); for (i = 0; i < size; i++) scanf("%d", &array[i]); largest = array[0];
Similar questions