Answer:
The following statement are:
if(speed < 0) // if statement
{
reverseDrivers++; //if the speed is less than 0, then increment in "reverseDrivers"
}
else if(speed < 1) //else if statement
{
parkedDrivers++; //speed is less than 1, than increments in "parkedDrivers"
}
else if(speed < 40)
{
slowDrivers++; //speed is less then 40, than increment in "slowDriver"
}
else if(speed <= 65)
{
safeDrivers++; //speed is less than or equal to 40, then increment in "safeDriver"
}
else
{
speeders++; //else increment in speeders
}
Explanation:
From the following statement their are certain condition arises
If the speed is less than 0, then increments the “reverseDrivers” variable by 1.
If the speed is less than 1, then increments the “parkDriver” variable by 1.
If speed is less than 40, then increment in "slowDriver" variable by 1.
If speed is less than or equal to 40, then increment in "safeDriver" variable by 1.
Otherwise increment in "speeders"