write an algorithm to find smaller of two numbers
Answers
Answered by
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
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
India Languages,
4 months ago
Math,
4 months ago
Social Sciences,
4 months ago
English,
8 months ago
Science,
8 months ago
English,
1 year ago
Math,
1 year ago