40 likes | 329 Views
Verify max. {T} if (a > b) { c = a; }else { c = b; } {c = max ( a,b )}. Verify multiplication. {a > 0} c = 0; y = b ; x = a; while (x > 0) { c = c + b; x = x - 1; } {c = a*b}. There will be make-up tutorial today (conducted by Dr. Aquinas) 6pm COM2-04-02.
E N D
Verify max {T} if (a > b) { c = a; }else { c = b; } {c = max (a,b)}
Verify multiplication {a > 0} c = 0; y = b; x = a; while (x > 0) { c = c + b; x = x - 1; } {c = a*b}
There will be make-up tutorial today (conducted by Dr. Aquinas) 6pm COM2-04-02