Question: 2 The algorithm is to find the smallest of three numbers X, Y, Z 1) Based on the given algorithm below (Figure 1), draw the

 2 The algorithm is to find the smallest of three numbers

2 The algorithm is to find the smallest of three numbers X, Y, Z 1) 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 Z) SMALL-Z Step 4: Print "The smallest number is", SMALL Step 6: Stop Figure 1 11) Given X = 10, Y = 20 and Z-5, trace the execution of the flowchart Fill up Table 1 below with the traced output. Table 1 (2 marks) Step X Y z BIG 1 10 20 30 2 3 2 ill) Based on your flowchart, write a C program to find the smallest of three numbers X, Y, Z (2 marks)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!