Write a program that accepts 10 elements from the user and find the smallest and largest elements. Sample Output: Enter elements: Enter arr(0] : 1 Enter arr[1] : 90 Enter arr(2) : 10 Enter arr(3) 18...


Write a program that accepts 10 elements from the user and find the smallest and largest elements.<br>Sample Output:<br>Enter elements:<br>Enter arr(0] : 1<br>Enter arr[1] : 90<br>Enter arr(2) : 10<br>Enter arr(3) 18<br>Enter arr[4] 12<br>Enter arr[5]: 11<br>Enter arr[6] : 77<br>Enter arr[7] :55<br>Enter arr[8]: 22<br>Enter arr[9] : 13<br>Smallest element of array is 1<br>Largest element of array is 90<br>

Extracted text: Write a program that accepts 10 elements from the user and find the smallest and largest elements. Sample Output: Enter elements: Enter arr(0] : 1 Enter arr[1] : 90 Enter arr(2) : 10 Enter arr(3) 18 Enter arr[4] 12 Enter arr[5]: 11 Enter arr[6] : 77 Enter arr[7] :55 Enter arr[8]: 22 Enter arr[9] : 13 Smallest element of array is 1 Largest element of array is 90

Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here