76 319
Assignments Done
Successfully Done
In May 2019

Answer to Question #23281 in C# for henry

Question #23281
Write a program to evaluate the net salary of an employee given employee if his basic salary is 12000GHS , Domestic allowance(DA) is 12% of basic salary, HRA is 250. He is taxed Income Tax of 20% of his basic salary.

Net Salary = basic salary + DA+ HRA –Income Tax
Expert's answer
#include "iostream"

using namespace std;

int main()
int basic_salary = 12000;
double DA = 0.12;
int HRA = 250;
double income_tax = 0.20;

int net_salary = basic_salary + DA*basic_salary + HRA - income_tax*basic_salary;


return 0;

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!


No comments. Be first!

Leave a comment

Ask Your question

Privacy policy Terms and Conditions