Menu

[Solved]Write C Code Program Following Within Main Asks User S Annual Income Within Main Calls Fun Q37174352

You will write 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 passesthe income value to printIt().  
  3. The printIt() function evaluates the income, and if the numberis over 90000, prints a congratulatory message. If the income isnot over 90000, it prints a message of encouragement, like “YouWILL make $90,000, if you keep going.”

Here is what the output looks like.

Expert Answer


Answer to You will write C code for a program that does the following: Within main(), it asks for the user’s annual income. Within… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *