Question: Example 10: Write down an algorithm and draw a flowchart to find and print the largest of three numbers. Read numbers one by one. Verify

Example 10: Write down an algorithm and draw a flowchart to find and print the largest of three numbers. Read numbers one by one. Verify your result by a trace table. (Use 5,7, 3 as the numbers read) Algorithm: Step 1:Input Step 2:Max-NI Step 3:Input N2 Step 4:IfN2>Max then Max N2 endi Input N3 I/N3>Max then Max - Step 5: Step 6: endi Step 7:Print "The latgest number is:",Max Trace Table of Example 10 N1 | N2 | N3 | Max | Decision Print
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
