โ Back to If Statements
Question 77
Even or Odd (No Input)
Even or Odd (No Input)
Create int number = 51. Use if/else with % to print Even or Odd. Expected Output: Odd
Expected Output:
Odd
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.