PPT Slide
Programas Imperativos
Iteração :
T
T
f
while ..... do
f;
od
Exemplo:
T = N x N x B @ N x N + N x N
f é tal que:
(x,y,flag)
(x.y,y-1,0) se y >= 1 e flag = 0
(SETS)
(x,y,1) se y < 1 ou flag = 1
(1,x,0) (x,x-1,0) (x.(x-1),x-2,0) . . . . (x!,0,1) . . . . . . .
f
f
f
f
Previous slide
Next slide
Back to first slide
View graphic version