2) Write an algorithm and draw flowchart to find smallest of two numbers.
Answers
Answered by
9
Answer:
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
2
Answer:
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.
Similar questions
English,
1 month ago
Science,
2 months ago
Math,
10 months ago
Math,
10 months ago
Social Sciences,
10 months ago