Plz solve the program Q5.
Attachments:

Answers
Answered by
0
hey mate!!!
class employee
{
int income=0, tax;
char name [30];
void fun()
{
Cin>>name;
if(income<=40000)
tax=0;
else if((income>40000)&&(income<=70000))
tax=income*20/100;
else
if((income>70000)&&(income<=100000))
tax=income*30/100
else if(income>100000)
tax=income*40/100
cout<<name<<income;
}};
hope this is helpful...
if you like it means please mark as the brainliest answer
with regards......
Similar questions