WAP to calculate the gross salary of the employee given the basic salary. Travelling Allowance, Dearness Allowance and Home Rental Allowance is 20%, 80% and 15% of Basic Salary respectively.
WAP to swap two numbers with the help of a Temporary Number.
WAP to swap two numbers without the help of a Temporary Number.
WAP to check if the number is even or not using conditional operator.
Mod 2 of any even number is always zero.
WAP to find the greatest number amongst three entered numbers using conditional operator.
WAP to find sum of two integers without using ‘+’ operator.