← All problemsSign in

LuckyGame

On the day of the annual fest of the college,some teachers and student decided to organize a game . Game is very simple. There are numbers of slips on the table(Natural number written on slip). One by one participant will come and choose a slip. if the number written on the slip contains only 3 and 7 then print LUCKY otherwise print BETTER LUCK NEXT TIME. ###Input: - First line

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start