Write a program QBasic to calculate Net Salary of an Employee. Accept the name and basic
salary from the employee and calculate the Daily allowance, House Rent Allowance and
Tax deduction as per the formula mentioned in the above question. The output should be in
the following format.
For example: Sam’s net salary is 35050
Answers
Answered by
0
Answer:Are you mad BCA ka question puch rahe ho mental yeo apna answer niche explanation me hai ham VI,VII,VIII etc me hai na ki kisi BCA me socho ki VI class 6 bachi answer de hai
Explanation:
ANS. #include
#include
#include
/* structure to store employee salary details */
struct employee {
int empId;
char name[32];
int basic, hra, da, ma;
int pf, insurance;
float gross, net;
};
printf(“Employee ID:”);
scanf(“%d”, &(e1[i].empId));
getchar();
Similar questions
Social Sciences,
1 month ago
Math,
1 month ago
Physics,
2 months ago
Biology,
9 months ago
Science,
9 months ago