003-002-004

Comparison Operators: Number Comparison Program

Easy

Problem Description

Comparison Operators: Number Comparison Program

In this problem, you will create a program that reads two integers, compares them using comparison operators (>, <, ==), and displays the results to standard output.

Learning Objective: Learn how to compare two numbers using comparison operators

Create a program that compares two numbers and displays the comparison results.

Input

Line 1: First number (integer)
Line 2: Second number (integer)

Output

A > B: [true/false]
A < B: [true/false]
A == B: [true/false]

Ready to Try Running Code?

Log in to access the code editor and execute your solutions for this problem.

Don't have an account?

Sign Up