Program
#include <stdio.h>
#include<math.h>
int main()
{
int id;
float m, bsalary,da, tax,house_rate;
printf("enter emp id :");
scanf("%d",&id);
printf("enter the basic salary : ");
scanf("%f",&bsalary);
house_rate = (bsalary * 0.1);
da = (bsalary * 0.3);
tax= (bsalary * 0.05);
m=bsalary + ((house_rate+da)-tax);
printf("id : %d salary : %f",id,m);
}
Output:
enter emp id :342
enter the basic salary : 65342
id : 342 salary : 88211.703125
#include <stdio.h>
#include<math.h>
int main()
{
int id;
float m, bsalary,da, tax,house_rate;
printf("enter emp id :");
scanf("%d",&id);
printf("enter the basic salary : ");
scanf("%f",&bsalary);
house_rate = (bsalary * 0.1);
da = (bsalary * 0.3);
tax= (bsalary * 0.05);
m=bsalary + ((house_rate+da)-tax);
printf("id : %d salary : %f",id,m);
}
Output:
enter emp id :342
enter the basic salary : 65342
id : 342 salary : 88211.703125
1 Comments
Navigating P. Tax in Andhra Pradesh can be tricky, but Digiliance makes it simple. Their content covers everything — from who needs to pay to how to register and file. As a startup founder, their platform saved me hours of research and confusion. I’ve even shared their articles with my HR team. If you're tired of outdated or vague compliance info, Digiliance is the trusted resource you need.
ReplyDelete