Posts

Showing posts with the label C Practice

C Practice Program on TCS

Consider a scenario that TCS find their salary using these conditions: Number of Packages Transferred: TCS pays 5000 per package delivery to Permanent Employees and 3000 per package delivery to Temporary Employees. Travel Allowance: TCS provide 500 per travel as allowance and 300 per travel as an allowance to Temporary Employees. Shift: TCS pays 10% increment, who did night shifts. So write a program in C to calculate employees basic pay. Also, TCS use Grading System for its employee to calculate net pay (consider grade is entered by a user) A1 5% A2 10% A3 15%