Birthday Party
CodeChefOpen on judge ↗
Today is the birthday of our friend Rahul. After cutting the cake he wants to treat his friends. However there are not many eateries where he lives .He doesn’t have much of a budget for the treat. He then finds a suitable restaurant. At this restaurant only three food items are available: Cola, Burger and French fries. The price for the same is Rs.10, Rs.20 and Rs.30 respectively. Cola and Fries
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