Larger of Two Numbers Problem
Larger of Two Numbers Problem — ExecCode School DSA Practice
Solve the Larger of Two Numbers problem on ExecCode. Free online school DSA practice in Variables & Output. Write and run code in Java, C++, Python — no signup required to run.
Problem description
You are given the input needed to solve Larger of Two Numbers. Your task is to solve Larger of Two Numbers. You already have the numbers 50 and 100. Find which one is larger and print that larger number.
Examples
Input ; Output 100. Input ; Output 100
Constraints
-10^4 <= A, B <= 10^4
Practice Larger of Two Numbers free on ExecCode. Browse DSA problems, topic map, and placement guides.