โ Back to If Statements
Question 73
If Less or Equal
If Less or Equal
Create an int variable x = 50. Use an if statement with <= to check if x is less than or equal to 50 and print: x is less than or equal to 50
Expected Output:
x is less than or equal to 50
Topics:
If Statements
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (sysout, psvm, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.