Program Slicing for Triangle problem There are seven variables ‘a’, ‘b’, ‘c’, ‘a1’, ‘a2’, ‘a3’ and ‘valid’ in the program. We may create many slices as given below: S (a, 8) = {1–8, 42} S (b, 10) = {1–6, 9, 10, 42} S (c, 12) = {1–6, 11, 12, 42} S (a1, 22) = {1–16, 20–22, 34, 42} S (a1, 26) = {1–16, 20–22, 25–27, 34, 41, 42} S (a1, 29) = {1–16, 20–22, 25, 27–31, 33, 34, 41, 42} S (a1, 32) = {1–16, 20–22, 25, 27, 28, 30–34, 41, 42} S (a2, 23) = {1–16, 20, 21,23, 34, 42} S (a2, 26) = {1–16, 20, 21, 23, 25–27, 34, 41, 42} S (a2, 29) = {1–16, 20, 21, 23, 25, 27–31, 33, 34, 41, 42} S (a2, 32) = {1–16, 20, 21, 23, 25, 27, 28, 30–34, 41, 42}