Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 221 Bytes

File metadata and controls

13 lines (7 loc) · 221 Bytes

Program 47

Write a program to find the maximum and minimum element in an array.

Variable description--

n=Number of elements in an array

a=Array of size N

min= Holds the minimum element

max=Holds the maximum element