The Bigger Number
Easy · Conditionals · test · Arithmetic
Problem
Two integers arrive as the first and second arguments. Print the larger, or equal when they are the same.
Examples
Input: 7 3 Output: 7
Approaches
- -gt and -lt
Related problems
Start free on Cariara · Coding problems · System design studio