Flowchart to Find the Largest Among Three Numbers

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.



Page content(s):

1. Flowchart


Additional content(s):

1. Algorithm

2. Pseudocode

3. Time Complexity




1. Flowchart to find the largest among three numbers

Flowchart to Find the Largest Among Three Numbers



3 comments:

  1. why are you using >= operator instead of > and <.
    I 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?

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

      Delete
    2. Use of > and < is more efficient in terms of computation.

      Delete

If you have any doubts or suggestions, please leave a note.