← All problemsSign in

Khushi & her dresses

Khushi has $x$ dresses in her wardrobe. She leaves for college in the morning at 8:00 AM and wears a new dress each day. When she is back home, She takes shower and gives her dress to her mother for charity. Her mother doesn't like her habit and decides : 1. To buy a new dress for her every $yth$ day **(i.e. y, 2y, 3y)** instead of buying one every day. 2. She will bring the dress late at night

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