If anyone want to find out his/her gross salery try this its cool and easy just on one click.
#include<stdio.h>
#include<conio.h>
int main()
{
int gross_salary,basic,da,tax;
printf("Enter basic salary\n");
scanf("%d",&basic);
da = ( 10 * basic ) / 100;
tax = ( 12 * basic ) / 100;
gross_salary = basic + da + tax;
printf("Gross salary :%d",gross_salary);
getch();
return 0;
}
#include<stdio.h>
#include<conio.h>
int main()
{
int gross_salary,basic,da,tax;
printf("Enter basic salary\n");
scanf("%d",&basic);
da = ( 10 * basic ) / 100;
tax = ( 12 * basic ) / 100;
gross_salary = basic + da + tax;
printf("Gross salary :%d",gross_salary);
getch();
return 0;
}
No comments:
Post a Comment