Computer Science, asked by anshsharmadabra550, 5 months ago

write an algorithm to find smaller of two numbers ​

Answers

Answered by ommomm2005
3

Explanation:

Algorithm of print the smallest of two number is given below

Step 1: Start . Step 2:Read the two number a1,1b1 by the user. Step 3 :Test the condition if a1< b1 go to step 4 otherwise go to step 5. Step 4: Assign t= a1 and print the value of a1.

Answered by AllenGPhilip
1

Answer:

Explanation:

Step 1 : Start

Step 2 : Input A , B

Step 3 : IF A < B Then go to step 4 else go to step 5

Step 4 : Print A is the smallest number go to step 6

Step 5 : Print B is the smallest number

Step 6 : Stop

Similar questions