Computer Science, asked by DrArrynMorgan, 1 year ago

The tax department has announced the new tax rated and deduction as the
following rules:
Gross annual income ( in Rs ) Tax Rates for Female Tax Rates for Male
Up to – 175000 Nill Nil
175001- 350000 10% 12%
350001- 550000 20% 22%
550001 and above 30% 33%
Write a program to input name, pen number, gross monthly income and
gender ( F for Female and M for male ). Compute the annual gross income,
taxable income and the tax to be paid using the above criteria. Print name,
pan number, gross annual income taxable income and tax to paid.

Answers

Answered by KameenaYaar01
2

Biggest Of Three Numbers Using Conditional operator/Ternary Operator in C

# include <stdio.h>

void main()

{

int a, b, c, big ;

printf("Enter three numbers : ") ;

scanf("%d %d %d", &a, &b, &c) ;

big = a > b ? ( a > c ? a : c) : (b > c ? b : c) ;

printf("\nThe biggest number is : %d", big)

The tax department has announced the new tax rated and deduction as the

following rules:

Gross annual income ( in Rs ) Tax Rates for Female Tax Rates for Male

Up to – 175000 Nill Nil

175001- 350000 10% 12%

350001- 550000 20% 22%

550001 and above 30% 33%

Write a program to input name, pen number, gross monthly income and

gender ( F for Female and M for male ). Compute the annual gross income,

taxable income and the tax to be paid using the above criteria. Print name,

pan number, gross annual income taxable income and tax to paid.

Similar questions