Most “wrong answers” are input problems, not calculator problems. A quick pass through the salary hike logic makes it easier to enter the right numbers.
If you can explain how current salary, hike %, and target salary connects to new salary and required hike %, you’re unlikely to be fooled by a fragile scenario.