64 638
Assignments Done
99,2%
Successfully Done
In September 2018

Answer to Question #23080 in C++ for felix oguamanam

Question #23080
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.
Expert's answer
#include<iostream>
using namespace std;
&
int main (){
float DA,HRA=250,a,b,s=12000,;
& DA=0.12*s;
& b=0.2*s;
& a=s-DA-HRA-b;
&
&

cout<<" the net salary : "<<a<<endl;
&
&
system("PAUSE"); &
}

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!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions