In this post, we will be learning how to find a maximum or largest number between 2 numbers taken as an input.
Input num1: 10
Input num2: 20
Maximum = 20
In the above pseudocode, we first take two number inputs from user and store the number in n1 and n2. Then check whether n1 is greater than n2. If n1 is greater than n2, then Print "n1 is max", else Print "n2 is max"