Answers for "c language gross program"

C
1

c language gross program

#include<stdio.h>
 
int main() {
   int gross_salary, basic, da, ta;
 
   printf("Enter basic salary : ");
   scanf("%d", &basic);
 
   da = (10 * basic) / 100;
   ta = (12 * basic) / 100;
 
   gross_salary = basic + da + ta;
 
   printf("\nGross salary : %d", gross_salary);
   return (0);
}
Posted by: Guest on September-18-2020

Code answers related to "C"

Browse Popular Code Answers by Language