Computer Science, asked by hannahcaress2786, 10 months ago

algorithm flowchart to print the smallest of two numbers

Answers

Answered by Mukeshgorain338
90

Answer:

Explanation:

step 1 : start

Step 2 : read the values of a and b

Step 3 : Check Whether a<b

step 4: if step 3 is true display a

step 5: else display b

step 6 : stop

Attachments:
Answered by StaceeLichtenstein
64

Algorithm and flowchart to print the smallest of two numbers is given below

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.

Step 5: Assign t= b1 and print the value of b1.

Step 6:End

  • we will attached the flowchart of smallest between the two number.

Learn More:

  • https://brainly.in/question/264509
  • https://brainly.in/question/2644446
Attachments:
Similar questions