Answer:
if (isIsosceles) {
isoCount++;
triangleCount++;
polygonCount++;
}
Step-by-step explanation:
The above will work in C/C++/Java/JavaScript, but you didn't specify which language you need. Anyway the principle stays the same.
5.2m questions
6.8m answers