1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
madreJ [45]
4 years ago
5

You will write a flowchart, and C code for a program that does the following: Within main(), it asks for the user's annual incom

e.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."

Computers and Technology
1 answer:
elena-s [515]4 years ago
7 0

Answer:

Explanation:

To write a C program for the above problem:

#include <stdio.h>

int main()

{

// we define the variable to get the annual income

float AnIncome;

// to get the annual income from the user

printf("Enter your annual income here: ");

scanf("%f", &Anincome);

// This is the function to test the annual income

float printIt(x){

//we test the amount inputted now

if (x>= 90000){

printf("Congratulations on your income\n"); // This is the congratulatory message

}

if (x<=0){

// This statement is included to avoid putting zero as annual income

printf("Annual Income cannot be zero or less than zero\n");

}

else{

printf("You WILL make $90,000, if you keep going.\n");

}

}

printIt(AnIncome);

return 0;

}

Attached is the image for a flow chat for the program

You might be interested in
What invention changed the nature of communication and commerce in the first half of the nineteenth century?
serg [7]
Answer: The Telegraph 

Hope this helps you out!
6 0
3 years ago
Read 2 more answers
Why is being distracted by the sights and sounds of our devices dangerous?​
11111nata11111 [884]

Answer:

because we lose our reflexes and our lucidness... if we r in our devices we dont see the world. we dont see the dangers we dont see or feel what we need to to survive. we find safety in things like electronics but they will never help us when it comes to real life problems. like if we are going to get hit by a car we are reading our phone not looking at our surroundings not listening to the warnings.

Explanation:

hope this helps

8 0
3 years ago
Assume you have thefollowing declaration int beta[50];.Which of the following is a valid elementof beta?
ANEK [815]

Answer:

A - beta[0]

Explanation:

Beta[0] is the first element of the array, therefore automatically it is a valid element of beta. B and C are disqualified because you would not use single quotations when referring to an element. D is disqualified because the element starts at 0 (beta[0]) and has 50 elements declared, therefore it would end at 49, with beta[49] being the last element.

4 0
3 years ago
What threat do insiders with authorized access to information or information systems pose
ki77a [65]

Answer:

Depens on the permissions the user has been granted if the user leaks the infomation it will break the CIA triad rule. To be more specific it will break the confidentiality rule in the triad. If the user has the permission to delete data it will break the availability rule because the data is not avaliable as the user deleted the data. If the user has permissions to edit the data, it will break the integrity rule in the triad because the data is no longer reliable or trustworthy.

7 0
3 years ago
Jerry is entering information from the documents that show what customers bought and what they owe. What document is he working
il63 [147K]
The answer would be C. Invoice
4 0
3 years ago
Read 2 more answers
Other questions:
  • What is most likely kept in as database
    15·1 answer
  • Which of the following allows you to view and access important information about your document all in one location?
    11·2 answers
  • Complete the following tasks. When you are finished, click Done to close the lab and move to the next question. After you click
    15·1 answer
  • C++ what is wrong with my equation?
    10·1 answer
  • What table element represents a field within a record in powerpoint A column B Row C header D footer
    14·1 answer
  • Hi need help on this <br> what is cyberspace
    14·1 answer
  • What is the result of expression 15 &gt; 10 &gt; 5 in C? What is the result of the same expression in Java?
    14·1 answer
  • Select the pieces of information that are added on to data to get it where it is going.
    5·1 answer
  • mips Write a program that asks the user for an integer between 0 and 100 that represents a number of cents. Convert that number
    6·1 answer
  • Complete the procedure for creating a contact group by selecting the correct term from each drop-down menu. 1. Click . 2. Enter
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!