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.
Answer:
SYN spoofing attacks.
Explanation:
The Spoofing attack is used to access the personal information it is distributed the viruses through infected links or file .The spoofing attacks has redistributed the traffic and the flow control in the denial-of-service attacks.
The SYN spoofing attacks is used the spoofed source in the result of giving response to packet The Spoofing attack is distributed across the Internet also it is detectable
The goal of a postmortem is to draw meaningful conclusions to help you learn from your past successes and failures. Despite its grim-sounding name, a postmortem can be an extremely productive method of improving your development practices.
Answer:
D
Explanation:
The actions applied to change the look of the word are:
1. It was set to italics. This can be done easily by highlighting the word => press Ctrl + I together on the keyboard.
2. Next is to set to underline. While still highlighted => press Ctrl + U together in the keyboard.