Answer:
Following are the if/else statement
if(pH < 7) // if ph is less then 7
{
neutral = 0; // false
base = 0; // false
acid = 1; // true
}
else if(pH > 7) // if ph is greater then 7
{
neutral = 0; // false
base = 1; // true
acid = 0; // false
}
else // if ph equal to 7
{
neutral = 1; // true
base = 0; // false
acid = 0; // false
}
Explanation:
Following are the description of statement