delegates/2/output - Output from the Compose delegate program. | Lecture 5 - slide 33 : 45 Program 4 |
Cubic of Minus3(0,000) = -27 Cubic of Minus3(1,000) = -8 Cubic of Minus3(2,000) = -1 Cubic of Minus3(3,000) = 0 Cubic of Minus3(4,000) = 1 Cubic of Minus3(5,000) = 8 Square of if d>2 then -d else 0(0,000) = 0 Square of if d>2 then -d else 0(1,000) = 0 Square of if d>2 then -d else 0(2,000) = 0 Square of if d>2 then -d else 0(3,000) = 9 Square of if d>2 then -d else 0(4,000) = 16 Square of if d>2 then -d else 0(5,000) = 25