Problem Statement - 03A
Write the definition of a function FixSalary(float Salary[], int N) in C++, which should modify each element of the array Salary having N elements, as per the following rules:
Existing Salary Values | Required Modification in Value |
---|---|
If less than 100000 | Add 35% in the existing value |
If >=100000 and <20000 | Add 30% in the existing value |
If >=200000 | Add 20% in the existing value |
Solution
CSKC| Created: 1-Jan-2019 | Updated: 1-Apr-2019|CBSE12A-2016