Write Flowchart C Code Program Following Within Main Asks User S Annual Income Within Main Q37152089

You will write a flowchart, and C code for a program that doesthe 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.”

Solution


`Hey,

Note: Brother in case of any queries, just comment inbox I would be very happy to assist all your queries

#include <stdio.h>
void printit(double income)
{
if(income>90000)
{
printf(“Congratulations! Income is greater than $90000n”);
}
else
printf(“You WILL

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.