C LANGUAGE - FINDING GROSS SALARY PROGRAM

/*Program to find gross salary.*/ #include<stdio.h> int main() { int gs,bs,da,ta; printf("Enter basic salary:"); scanf("%d",&bs); da=(10*bs)/100; ta=(12*bs)/100; gs=bs+da+ta; printf("gross salary=%d",gs); }
Note: Click on copy button to copy the given code and you can paste it in any online compiler to see the result, IF YOU ARE A MOBILE USER THEN DOWNLOAD "CODING C"(Free App) COMPILER FROM GOOGLE PLAY STORE.