DECLARE
num
NUMBER:='&Input_Number';
res
NUMBER:=0;
BEGIN
WHILE(num>0)LOOP
res:=res+num;
num:=num-1;
EXIT
WHEN num=0;
END
LOOP;
DBMS_OUTPUT.PUT_LINE(res||'
Is Total !');
END;
/
Enter
value for input_number: 5
15
Is Total !
Various List Controls in ASP.Net
ReplyDeleteLife Cycle of a Source Program
Key Distribution Scenario
Priority Inversion Problem in Inter-Process Communication
Priority Interrupt with Daisy Chaining
Prim’s Algorithm for Minimum Spanning Tree
Discourse and Pragmatic Processing
Points and Lines – Computer Graphics
Pipeline Conflict
Listview with Example
ReplyDeleteAlgorithms for the Singly Linked List
Operator Precedence Parsing Algorithm Using Stack
Services Provided by Operating System
Introduction to Non-monotonic Reasoning
Features of Real Time Operating System
Implementation of Readers Writer Problem using Semaphore
Quality Standards ISO 9000 and 9001 and CMM