Facebook Google Plus YouTube

C program to Find First Largest Element and Second Largest Element in an Array.

First Largest Element and Second Largest Element in an Array. Procedure: #include <stdio.h> int main() { int arra[500], number, i; int FirstMax, SecondMax; printf(“Enter Number of Elements in array\n”); scanf(“%d”, &number); printf(“Enter %d numbers \n”, number); for(i = 0; i…