Salary Hike
CodeChefOpen on judge ↗
The manager decides to give a salary hike after checking the personal data of his employees. So he hires an agent who will act as a friend, get the personal details and pass on to the manager. The following are criteria in which he gives salary hike: - 10% hike if the employee has more than one girl child. - 15% hike if the employee is more than 40 yrs old - 25% hike if the employee has salary >
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