Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

WHAT IS THE OUTPUT of each of these programs, for each of the following inputs? (You do not need to show the output of the

image text in transcribed
image text in transcribed
WHAT IS THE OUTPUT of each of these programs, for each of the following inputs? (You do not need to show the output of the greeting nor the prompt message.) Examine the programs CAREFULLY. If you are not confident of your answer, type in, compile and run the programs. #include int main() { /* main */ const float standard_deduction const float single_exemption const float tax rate const int tax_year 4300.0; 2750.0; = 0.15; = 1999; float income, tax; printf("I'm going to calculate the federal income tax "); printf(" on your $d income. ", tax_year); printf("What was your %d income in dollars? ", tax_year); scanf("%f", &income); tax = (income (standard_deduction + single_exemption)) tax_rate; printf("The $d federal income tax on $82.2f ", tax_year, income); printf(" was $42.28. ", tax); } /* main */ i. 30000 ii. 40000 iii. 100000

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database And Transaction Processing

Authors: Philip M. Lewis, Arthur Bernstein, Michael Kifer

1st Edition

0201708728, 978-0201708721

More Books

Students also viewed these Databases questions

Question

How has social media emerged as an important force in recruiting?

Answered: 1 week ago