Computer Science, asked by karmakarsounak, 6 months ago

write a program to input any ten number and print the largest and smallest number among them.(using loop only).

Answers

Answered by kumarravifb
1

Scan the value in array keep it sorting by means of comparsion.

print a[0] for smallest.

print a[n-1] for largest.

Similar questions