For the following program:
1: read x,y,z;
2: type =“scalene”;
3: if (x == y or x == z or y== z) type =“isosceles”;
4: if (x == y and x == z)type =“equilateral”;
5: if (x >= y+z or y >=x+z or z >= x+y) type =“not a triangle”;
6: print type;
Calculate Halstead’s (c1) number of operators; (c2) number ofoperands; (c3) program vocabulary; (c4) occurrences of operators inthe program; (c5) occurrences of operands in the program; (c6)program length; (c7) program volume; (c8) program estimatedlength.
Expert Answer
An answer will be send to you shortly. . . . .