I have to do an exercise that is a for loop but delimiting the minimum the maximum and the jump, the thing is that both the minimum and the maximum is done but the jump is not how to define it, I hope someone helps me.
I leave you my exercise without the defined jump:
SET SERVEROUTPUT ON
CREATE OR REPLACE PROCEDURE CONTAR(var1 NUMBER)
IS
contador NUMBER;
BEGIN
contador:=0;
FOR numero IN contador..var1
LOOP
DBMS_OUTPUT.PUT_LINE('Numero:' || contador);
contador:=contador+1;
END LOOP;
END;
SET SERVEROUTPUT ON
BEGIN
CONTAR(10);
END;
Greetings!