Even-Odd Rule
CodeChefOpen on judge ↗
You all know about the Even-Odd rule of Delhi,which implies that if a car has a even vehicle registration number that it is allowed only on even days and if a car has a odd vehicle registration number that it is allowed only on odd days.Now if anyone do not follow this rule then he/she would have to pay fine to trafic policemen.you are given a variable named type,if type is 0 than even numbered ca
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