Algorithms & Flowcharts for ICSE Computers
Write an algorithm and draw the flowchart for the following:
Print the smallest of two numbers.
Algo & Flowcharts
326 Likes
Answer
Algorithm
Step 1: Start
Step 2: Read the two numbers and store them in a and b.
Step 3: Check if a < b
Step 4: If true then print a and goto step 6
Step 5: If false then print b
Step 6: Stop
Flowchart
Answered By
235 Likes