Assume that isIsosceles is a boolean variable, and that the variables isoCount,triangleCount, and polygonCount have all been declared and initialized. Write a statement that adds 1 to each of these count variables (isoCount,triangleCount, andpolygonCount) if isIsosceles is true.

Respuesta :

Answer:

if (islsosceles)  

{ isoCount++ ; triangleCount++ ; polygonCount++; }

Explanation:

To add 1 to each of these count variables you should add this simple statement.

if (islsosceles)  

{ isoCount++ ; triangleCount++ ; polygonCount++; }

This statement simply add one to each of these count variable.