Entry Check
Chef wants to visit a fair, but there is an age restriction for entry. A person can attend the fair if their age is **greater than or equal** to $10$ years. You are given Chef's age, represented by the integer $X$. Your task is to determine whether Chef is eligible to attend the fair or not. - If Chef's age is greater than or equal to 10, print "YES". - Otherwise, print "NO". ### Input A single
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