Answer:
int main()
{
double pH;
int neutral;
int base;
int acid;
cout<<"Enter a pH Value";
cin>> pH;
if(pH<7.0){
neutral =0;
base=0;
acid= 1;
}
else if (pH=7.0){
neutral =1;
base=0;
acid= 0;
}
else{
neutral =0;
base=1;
acid= 0;
}
cout <<"The neutral, Base and Acid Values are: "<<neutral<<","<<base<<","<<acid<<" Respectively"<<endl;
return 0;
}
Explanation:
Using multiple if/elseif/else statement the following problem is solved with C++
It will take 8 times more time to sort a 40-element list compared to the time spent on a 5-element list.
We can arrive at this answer as follows:
- We can see that if we divide a group of 40 elements into groups containing 5 elements, we will have 8 groups.
- In this case, the time it would take to sort the list of one group of 5 elements would be repeated 8 times so that we could sort all the groups and their elements.
Another way to do this is to divide the number 40 by 5. We would have the number 8 as a result, which indicates that we would need 8 times more time to sort a list of 40 elements, compared to a list of 5 elements.
You can get more information about lists at this link:
brainly.com/question/4757050
Answer:
The user has a deactivated account
Explanation:
or the user does not have the account anymore good luck and I hope you do well <3
Drinking and driving is not recommended. You need your, hands, feet, brain, and eyes to maneuver around. Drivers must be alert and able to make judgments quickly. Drinking and driving can affect the driver in the following ways.
Judgment
The brain is the first part of the body that is affected by alcohol. Your ability to think clearly and plan ahead levels down to as low as .02%
Concentration
Alcohol can leave you concentrating on only one action. You need to stay focused on several things at once. Alcohol will interrupt your focus and might result to an accident. Many accidents are as a result of a short attention span or a distracted driver.
Vision
Alcohol, especially when taken in excess, will impair your eye movement. Not only will it slow down your eye muscle function but will also reduce peripheral vision.