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 $90,000, if you keep going."
- Attached is what the output should look like. Looking for C code only.. using DevC++
7 years ago
4
Answer(1)![blurred-text]()
![]()
Purchase the answer to view it

- Passavaluetothefunction.c
- passvaluetofunction.fprg
- Passavaluetothefunction.rtf
other Questions(10)
- REY WRITER ONLY
- Evolution of Strategy at Procter & Gamble
- Does anyone know about Criminology
- this job for nyamaimule
- Urgent!!! Due 11:59
- Ultimate_Writer
- done
- please read below carefuly it's important.
- Answer the music question......1 music question......due tomorrow
- Write a research paper about Emotional Intelligence and Its Effects to Employee Productivity.