Computer Science, asked by bhairaviraje7885, 20 days ago

draw a flowchart to find the smallest number amin n numbers

Answers

Answered by kabitagupta303
0

Answer:

Algorithm to find the smallest number among n numbers :

Step 1: Inside an array, take n number of inputs.

Step 2: Assume that the first element is the smallest.

Step 2: Assume that the first element is the smallest. ...

if (a[i] < smallest)

{ smallest = a[i]; }

Step 4: Print the smallest value.

Similar questions