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.
The answer is B. book mark definitely
The silver market dropped sharply in <span>1898,</span> hurting Bolivia's income.
The entire mining business was in decline as a result of destruction, flooding, and abandonment of mines. Lack of investment and insufficiency of labor contributed to a pointy drop by silver production. Agricultural production was low, and Bolivia had to import food, even the essential staples consumed by the Indian population. the government had serious money difficulties as a result of the massive military expenditures and debt payments to the Republic of Peru as compensation for the military of liberation. of these issues were aggravated by the isolation of the new republic from the skin world and therefore the difficulties of securing its borders.