#include<stdio.h>
int main()
{
int income, expenses, deductions,tax;
int net income;
loop:
system("cls");
printf("\n");
printf("*****************************\nHELLO WELCOME TO BABY PROJECT\n*****************************");
printf("\nMENU:\n");
printf("\t1) Program Calculate taxes\n");
printf("\t2) Created by\n");
printf("\t3) Exit Program\n");
printf("Please Select :");
scanf("%d",&choice);
switch(choice){
case 3:exit(0);}
switch(choice){
case 1:
system("cls");
printf("WELCOME TO Program Calculate taxer");
printf("Enter your income:");
scanf("%d"& income);
printf("Enter your net expenses:");
scanf("%d"& expenses);
printf("Enter your deductions:");
scanf("%d"& deductions);
net income = income - expenses - deductions
if(net income<=150000){
tax = 0;
}else if (net income<=300000){
tax = net income*0.05;
}else if (net income<=500000){
tax = net income*0.1;
}else if (net income<=750000){
tax = net income*0.15;
}else if (net income<=1000000){
tax = net income*0.20;
}else if (net income<=2000000){
tax = net income*0.25;
}else if (net income<=5000000){
tax = net income*0.30
}else{
tax = net income*0.35;
}
printf("Your net income is:");
printf("Your tax is:")
return
}