PUC DATE
CodeChefOpen on judge ↗
Mr. Shah is going to Petrol pump for PUC of his vehicle. There he read that validity of PUC is 180 days. He wants to know that when he has to comeback for renewing PUC. Take $Date$, $Month$ & $Year$ as input(DD MM YYYY Format) in $3$ seperate variables and help Mr. Shah to know the date after $180 days$. Remember, a Year can be leap year. ###Input: - A single line of input, three integers
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