Question Solved1 Answer Write a C++ program that calculates total salary for an employee where basic salary is inputted by the employee, the housing allowance is 35% of basic salary, and transport allowance is 25% of basic salary. Total salary= basic salary + housing allowance + transport allowance Example: Enter employee salary: 4000 The total salary is = 6400

HISWO6 The Asker · Computer Science

Write a C++ program that calculates total salary for an employee where basic salary is inputted by the employee, the housing allowance is 35% of basic salary, and transport allowance is 25% of basic salary. Total salary= basic salary + housing allowance + transport allowance


Example:
Enter employee salary: 4000
The total salary is = 6400

More
See Answer
Add Answer +20 Points
Community Answer
NX82SA The First Answerer
See all the answers with 1 Unlock
Get 4 Free Unlocks by registration

PROGRAM#include<iostream>#include<bits/stdc++.h>using namespace std;int main(){    int basic_salary;    cout<<"Enter employee salary: ";    cin>>basic_salary;        double housing_allowance =0.35*basic_salary;    double transport_allowance =0.25*b ... See the full answer