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:

  1. Within main(), it asks for the user’s annual income.
  2. Within main(), it calls a function called printIt() and passes the income value to printIt().  
  3. 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 

 

What Students Are Saying About Us

.......... Customer ID: 12*** | Rating: ⭐⭐⭐⭐⭐
"Honestly, I was afraid to send my paper to you, but splendidwritings.com proved they are a trustworthy service. My essay was done in less than a day, and I received a brilliant piece. I didn’t even believe it was my essay at first 🙂 Great job, thank you!"

.......... Customer ID: 14***| Rating: ⭐⭐⭐⭐⭐
"The company has some nice prices and good content. I ordered a term paper here and got a very good one. I'll keep ordering from this website."

"Order a Custom Paper on Similar Assignment! No Plagiarism! Enjoy 20% Discount"