WordPress Hosting
Free Photos
WordPress Themes

PL/SQL DERET FIBINOCI

--DERET FIBINOCI DECLARE FIRST NUMBER:= 0; SECOND NUMBER:=1; THIRD NUMBER; NILAI NUMBER; BEGIN NILAI := &INPUT_NILAI; DBMS_OUTPUT.PUT_LINE('FIBINOCI SERIES: '); DBMS_OUTPUT.PUT_LINE(FIRST); DBMS_OUTPUT.PUT_LINE(SECOND); FOR I IN 1..NILAI LOOP THIRD := FIRST +SECOND; FIRST := SECOND; SECOND := THIRD; DBMS_OUTPUT.PUT_LINE(THIRD); END LOOP; END;

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.