CodingReported in a candidate post, Jul 2022
Recursive salary increment calculation
Filed under Virtusa
The question
Write a recursive function that increments salary based on a grade condition: if 'A' increment by 1000, if 'B' increment by 500, and if 'C' increment by 0.
No write-up yet. Related questions below have one.
Related Virtusa questions
Collected from public candidate posts and coding forums. Updated Nov 2026.