find the minimum of two given numbers flowchart
Answers
Answered by
0
Answer:
Create and load an array “Array”, and load it with the desired numbers.
Make a variable “Min” to hold the minimum value of the array, and set it to the 0th element of “Array”.
Make an integer variable “i” for use as an array index, and initialize it to 1.
If Array[i] is less than Min, set Min to Array[i].
Increment i by 1.
If i<(size of Array), goto step 4.
Print Min.
Explanation:
Similar questions