Question: Write a program that completes the following requirements in C program: opens a file called salaries.txt for reading reads in four quarterly dollar salary payments
Write a program that completes the following requirements in C program:
opens a file called salaries.txt for reading
reads in four quarterly dollar salary payments from the file
sums the quarterly payments
determines the tax bracket < $15,000 = low income; $15,000 - $200,000 = medium income; > $200,000 = high income
closes salaries.txt
displays l for low income, m for medium income, and h for high income
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
