C2- Lecture Problem 2
CodeChefOpen on judge ↗
Given income $I$ and number of years $Y$ with the company as input, write a program that updates income in the following manner : If years of work with the company are more than or equal to 5: * If income is more than or equal to 100 and less than 200, 30% increment * If income is more than or equal to 200 and less than 300, 25% increment * If income is more than or equal to 300 and le
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