Computer Science, asked by shraddha8137301, 8 days ago

write a program to input number of family members total income of family and calculate income per head after deducting the income tax from the total income and print it . the income tax is calculated as 5 % of taxable income . the taxable income is the exceeding amount more than 50,000

PLEASE TELL IT I WILL MARK BRAINLIST ​

Answers

Answered by ssatyamkumar3
1

GIVEN: tax rate= 5%

to find: total income of family;

solution:

#include<stdio.h>

main()

{

int n , i=5;

printf("enter your family member total income")

scanf ("%d", &n);

if(n>50000)

{

   int tax=(n * i)/100;

    int saving= n-tax;

    printf ("%d", saving);

}

}

Similar questions