Question: using C language please! Q1: Computing Taxes (4 marks) . The personal income tax is calculated based on the status and taxable income. There are

using C language please!  using C language please! Q1: Computing Taxes (4 marks) . The
personal income tax is calculated based on the status and taxable income.

Q1: Computing Taxes (4 marks) . The personal income tax is calculated based on the status and taxable income. There are three statuses: Single (S), Married (M), and Head of Household (H). The tax rates for 2020 are shown in the below table. . Write a program that prompts the user to enter the status as a character: S, Mor H, and taxable income and computes the tax. Tax rate Single Married Head of household 10% Up to 6,000 Up to 12,000 Up to 10,000 15% 6,000 -27,950 12,001 - 46,700 10,001 - 37.450 27% 27,951 -- 67,700 46,701 - 112,850 37,451-96,700 30% 67,701 - 141,250 112,851 - 171,950 96,701 - 156,600 35% 141,251 - 307,050 171,951 - 307,050 156,601 - 307,050 38.6% 307,051 or more 307,051 or more 307,051 or more Q2: Computing Vowels [3 marks] Write a program that defines an array of 7 characters (string). You need to prompt the user to read the string entered then compute how many vowels in that string. You should use switch statement to solve this question Example: if the user inputs: hello the number of vowels is 2 Q3: Displaying numbers in words [3 marks) Write a C code that prompts the user to input a 2-digit positive number and displays the number in words. You should use switch statement to solve this question, Example: if the number is 52 the program should displays: fifty-two (Hint: you need to split the number into its digits] te w

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!