Menu

 The algorithm is to find the smallest of three numbers X, Y, Z. i) Based on the given algorithm . . .

The algorithm is to find the smallest of three numbers X, Y, Z. i) Based on the given algorithm below (Figure 1), draw the flowchart (1 mark) Step 1: Read the numbers X, Y, Z. Step 2: If (X<Y) SMALL = X else SMALL = Y Step 3: If ( SMALL > Z) SMALL = Z Step 4: Print “The smallest number is ”, SMALL. Step 6: Stop. Figure 1

 

Expert Answer

Answer to The algorithm is to find the smallest of three numbers X, Y, Z. i) Based on the given algorithm below .. . .

OR