Initial Basics – Algebra – Problem #30
IIT Kharagpur CS10001 / CS11001 Programming and Data Structures Lab Question Archive
Difficulty: Easy
Problem Statement
The office in which you are working has decided to contribute a part of your salary towards a special fund contribution. Your contribution is calculated as the addition of 10% of your basic pay and 5% of your Dearness Allowance (DA). Write a program to take input two integers as your basic pay and as your DA and display the fund contribution. Example: Input: Basic Pay: 1000 DA : 200 Output: Fund contribution: 110 (10% of 1000 + 5% of 200)