(268 Views)

In this post, we will be learning how to find a maximum or largest number between 2 numbers taken as Input.

**Example:**

Input:

Input num1: 10

Input num2: 20

Output:

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"

3 UpvotesUpvote |
1 DownvotesDownvote |

- Python Program to Check Armstrong number [310 Views]
- Find HCF and LCM using Python [595 Views]
- How to send a Header data through HTTP Request using curl [169 Views]
- How to check if an array is empty in JavaScript? [244 Views]
- Flowchart and Algorithm for calculating X to the Power of Y i.e X
^{Y}[11 Views]

- Knuth-Morris-Pratt (KMP) Substring Search Algorithm with Java Example [9233 Views]
- Pseudocode and Algorithm to find whether number is Armstrong Number or Not [7592 Views]
- How To Win Ludo King Game Every Time [7388 Views]
- error: Multiple commands produce error in Xcode 10 [5061 Views]
- FlowChart and Pseudocode to find Whether a Number is Even or Odd [4007 Views]