Dark mode logo
Last Updated:
Largest of the two numbers in Raptor

Largest of the two numbers in Raptor

Algorithm

Input: Input two numbers
output: Largest number between the two numbers

  1. Start
  2. Input two numbers, say a and b
  3. check a>b
    3.1 Print a is the largest
  4. Else
    4.1 Print b is the largest
  5. Stop

FlowChart

flowchart for the largest of two numbers

Note: This Flowchart was created using a program called Raptor. The flowchart file can be downloaded by clicking here

Input
a:3
b:1
Output
3 is largest

 

Comments