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.
1
Expert's answer
2013-01-29T11:33:35-0500
#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 the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS