Answer:
#include<bits/stdc++.h>
using namespace std;
int main ()
{
int salary, allowance, credit_association, btn, Pension, GrowthSalary, TotalDeduction, NetPay;
cout << "Enter your Salary: ";
cin >> salary;
cout << "Enter your Allowance: ";
cin >> allowance;
cout << "Enter your Credit Association: ";
cin >> credit_association;
Pension = salary * 0.7;
cout << "Your Pension is : " << Pension << endl;
GrowthSalary = (salary + allowance);
cout << "Your GrowthSalary is : " << GrowthSalary << endl;
TotalDeduction = (Pension + credit_association);
cout << "Your TotalDeduction is : " << TotalDeduction << endl;
NetPay = (GrowthSalary - TotalDeduction);
cout << "Your NetPay is : " << NetPay << endl;
}
Copyright © 2024 EHUB.TIPS team's - All rights reserved.
Answers & Comments
Verified answer
Answer:
#include<bits/stdc++.h>
using namespace std;
int main ()
{
int salary, allowance, credit_association, btn, Pension, GrowthSalary, TotalDeduction, NetPay;
cout << "Enter your Salary: ";
cin >> salary;
cout << "Enter your Allowance: ";
cin >> allowance;
cout << "Enter your Credit Association: ";
cin >> credit_association;
Pension = salary * 0.7;
cout << "Your Pension is : " << Pension << endl;
GrowthSalary = (salary + allowance);
cout << "Your GrowthSalary is : " << GrowthSalary << endl;
TotalDeduction = (Pension + credit_association);
cout << "Your TotalDeduction is : " << TotalDeduction << endl;
NetPay = (GrowthSalary - TotalDeduction);
cout << "Your NetPay is : " << NetPay << endl;
}