Answer:
It's C
Explanation:
Adware displays or directs the users to an advertisement, while spyware performs espionage on the computer`s activity.
Answer:
Downward
Explanation:
<u>Downward communication</u>
When instructions/orders given from Superiors to Subordinates.The instruction can be via mail,oral or handbooks it can be of any form. Examples are shareholders instructing management,teacher ordering students to bring notebooks etc.
<u>Upward communication</u>
When Information is sent bottom level to the upper levels in an organization.The information includes reports,judgments, estimations, propositions, complaints, appeals, etc
<u>Lateral communication/Horizontal communication</u>
When same hierarchical levels shares idea or information with each other for coordinating, fulfilling a common purpose or goal.It doesn't involve sharing information with up or down levels in organization.
<u></u>
<u></u>
Answer:
void print_popcorn_time(int bag_ounces){
if(bag_ounces < 3){
cout<<"Too small"<<endl;
}else if(bag_ounces > 10){
cout<<"Too large"<<endl;
}else{
cout<<(6 * bag_ounces)<<"seconds"<<endl;
}
}
Explanation:
The function is the block of the statement which performs the special task.
For checking the condition in the program, the if-else statement is used.
It can check the condition one or two but if we want to check the more than two different conditions then the continuous if-else statement is used.
syntax of continuous if else:
if(condition){
statement;
}else if(condition)
statement;
}else{
statement;
}
In the question, there are three conditions;
1. bag_ounces is less than 3
2. bag_ounces greater than 10
3. else part.
we put the condition in the above if-else statement and print the corresponding message.