The odd things
CodeChefOpen on judge ↗
Hailey is getting lazier since she got you. The algorithm she's written, uses a sequence of odd numbers only and wants you to develop a program to decide that for her. The program must take an input from the user and display if the number is even or odd. ###Input: - An integer which is even or odd ###Output: Display ODD if input is odd. Display EVEN is input is even. ###Sample In
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start