**Flowchart to find the largest among three numbers** can be found by comparing them with each other. A number *x* is said to be **the largest among three numbers** when its value is greater than other two numbers say *y* and *z*. For example, 20 is the largest among three numbers 10, 15, 20.

# Flowchart to Find the Largest Among Three Numbers

Subscribe to:
Post Comments (Atom)

why are you using >= operator instead of > and <.

ReplyDeleteI mean x >= y does not mean x is greater than y, and does not make x greatest number in all cases...

what about using x > y instead of x >= y?

Both are correct. By doing x >= y, we prioritise the first occurrence of the largest number.

DeleteUse of > and < is more efficient in terms of computation.

Delete