Computer Science, asked by salonitomar1161, 4 months ago

Write an algorithm to find the smallest of three nbers

Answers

Answered by hardev29
0

Answer:

Algorithm to find smallest of 3 numbers

Declare three variable a, b, c.

Compare a with b and c. If a is smaller than b and c than a is smallest among three numbers.

Compare b with a and c. if b is smaller than a and c than b is smallest among three numbers.

Answered by gkdozckhkhc
2

Answer:

Algorithm to find smallest of 3 numbers

•Declare three variable a, b, c.

•Compare a with b and c. If a is smaller than b and c than a is smallest among three numbers.

•Compare b with a and c. if b is smaller than a and c than b is smallest among three numbers.

Similar questions