Draw a flow chart for the following problem.
.compute net salary for a tax rate of 30%:
.Hint: Net Salary= Grass Salary-Total Tax
Answers
Answered by
1
Answer:
vjzjzsvksavjBzvziavsvsjkzvs
Answered by
1
Program in C++:
#include<iostream>
using namespace std;
int main()
{
double gross_salary, total_tax, net_salary;
cout<<"Enter the gross salary : ";
cin>>gross_salary;
total_tax = gross_salary * 30 / 100;
net_salary = gross_salary - total_tax;
cout<<"Net Salary : "<<net_salary;
return 0;
}
Output:
Enter the gross salary : 100000
Net Salary : 70000
Attachments:
Similar questions