C program to find maximum element in an array

C program to find maximum element in an array

Input:

Enter the number of elements in the array: 5
Enter the elements of array:
65 2 78 -4 0

Output:

The maximum element in the array is 78

Implementation: