← All problemsSign in

AVG_AGE

Chef and Nayan are good friends, Chef is very strong in mathematics. Nayan is facing a problem in a question. So, Nayan decided to take the chef's help. Nayan asks the chef that -> The average age of class of $N$ number of students and a class teacher reduces by $x$ years, if we exclude the Teacher. If the Initial average age of the class is $Y$ years. Then Find the age of the Class Teacher. ###

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