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++
Try restarting your laptop
Advanced analytics may help to simulate the behavior of an infectious disease in epidemiology.
<h3>What is Advanced analytics?</h3>
Advanced analytics refers to the computation strategies that are able to manage a huge number of parameters to model a situation.
Advanced analytics is very useful in epidemiology because this approach allows for predicting the transmissible behavior of infectious diseases caused by pathogenic microorganisms (e.g., bacteria) and viruses.
In conclusion, Advanced analytics may help to simulate the behavior of an infectious disease in epidemiology.
Learn more about Advanced analytics here:
brainly.com/question/15007647
#SPJ1
Answer:
B. "1"
Explanation:
Major north–south routes have numbers ending in "1" while major east–west routes have numbers ending in "0".
Hope this helps!
// Simple Java program to find sum of series
// with cubes of first n natural numbers
import java.util.*;
import java.lang.*;
class GFG {
/* Returns the sum of series */
public static int sumOfSeries(int n)
{
int sum = 0;
for (int x = 1; x <= n; x++)
sum += x * x * x;
return sum;
}
// Driver Function
public static void main(String[] args)
{
int n = 5;
System.out.println(sumOfSeries(n));
}
}
// Code Contributed by Mohit Gupta_OMG <(0_o)>