limite := 1;
WHILE limite <= 400
LOOP
suma := suma + limite;
limite := limite + 1;
END LOOP;
FOR limite IN 1..400
LOOP
suma := suma + limite;
END LOOP;
limite := 1;
LOOP
suma := suma + limite;
EXIT WHEN limite > 400;
END LOOP;
LOOP
x := x + 1;
IF x > 3 THEN
EXIT;
END IF;
END LOOP;
0 comentarios:
Publicar un comentario