Share your repls and programming experiences

← Back to all posts
High and Low Project
tr29038 (1)

/Algorithm
Declare integer array of size 10
Prompt user to input all 10 integer elements
Find the index of the first occurring, smallest integer in array
Find the index of the last occurring, largest integer in array
Output the smallest and largest elements and their indices
/