Closed alcen closed 4 years ago
procedure mainPrint { if ((x < y) && (y < z)) then { a = x + y * z; } else { read w; } while (x > y) { print p; } } procedure computeCentroid { call mainPrint; call mainPrint; }
The while node for statement 4 points to 3 other nodes (one child node has no children and no statements)
The while node for statement 4 points to 3 other nodes (one child node has no children and no statements)