Question: In C programming 11. Write a program that counts the numbers of the given consonants (B, b, W, w, X, x, Z, z) in a
In C programming
11. Write a program that counts the numbers of the given consonants (B, b, W, w, X, x, Z, z) in a sentence: Hint: Use getchar to read the characters you enter and count the number of the consonants while the character 'n' (the end of sentence) is not entered. Example Enter a sentence: Be well prepared for the exam. Your sentence contains 3 of the given consonants are subject to the income tax: Income is less than $1,000: From $1,000 to less than $50,000: From $50,000 to less than $100,000: $1,000 plus 10% of income over $50,000 $100,000 and over: Write a program to ask the user to enter the income, and then display the tax due. no taxes 20% of income over $1,000 no taxes
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
