https://blog.besthomeworkhelp.org/wp-content/uploads/2022/08/2222915-512-3-e1545151777630-300x52.png 0 0 best https://blog.besthomeworkhelp.org/wp-content/uploads/2022/08/2222915-512-3-e1545151777630-300x52.png best2022-08-27 19:02:492022-08-27 19:02:49Pass A Value To A Function That Makes A Decision
Pass A Value To A Function That Makes A Decision
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.
Upload your Flowgorithm file, your .c file, and a screenshot of your code output saved in a Word document