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.
<u>The various systems on a network and develop a logging policy based on the information in the aforementioned sections:</u>
Cisco is router, which is physical device appliance where placed in LAN OR WAN for connecting workstation or desktop or laptop of other offices in organization.
It is a security device and purpose to make organization to access or connected to end use of other networks.
Basically there routers are used ISDN LINE, LEASE LINE or VPN for connecting varies WAN
Purpose of keeping the logging polices to do further analysis how the network packets or traffic is executed and passed different tcpip address. If case any hackers or packet loss the network administrator will do further analysis and protect the system form packet loss or from hackers. Keeping network logs is policy driven. So network administrator keeps logs for no. of days.
Some network administration export log and keep as reference.
Earlier there were no ic's but vacuum tubes or transisters,..
making computer big , so big in that time, with low speed and memory