Pass A Value To A Function That Makes A Decision
Instructions
You will write a flowchart, and C code for a program that does the following:
- Within main(), it asks for the user's annual income.
- Within main(), it calls a function called printIt() and passes the income value to printIt().
- The printIt() function evaluates the income, and if the number is over 90000, prints a congratulatory message. If the income is not over 90000, it prints a message of encouragement, like "You WILL make $50,000, if you keep going."
Here is what the output looks like.
Submission Instructions
Upload your Flowgorithm file, your .c file, and a screenshot of your code output saved in a Word document
7 years ago
3
Answer(1)![blurred-text]()
![]()
Purchase the answer to view it

- Passavaluetothefuntion.zip
other Questions(10)
- Ashford PHI 200 Week 4 (Mind & Machine) Complete A+ Graded
- 4 Financial Management questions
- For ActiveNow - 9 hours
- The scientific method is useful in problem solving and decision-making in a wide variety of fields. In this assignment, you will demonstrate how to use the scientific method to make decisions and solve problems in your field of study or everyday life. Wr
- Homework Assist
- MGT 420 (Managing Quality in Supply Chain) Complete Course Week 1-5 Complete A+ Graded
- Criminology Questions Cha.11
- Humanties
- Intel’s provision for income taxes
- Jane Austen