Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Simple calculator
Declare A number:=22; B number := 7; Arit_operation varchar2(20):='DIVIDE'; BEGIN dbms_output.put_line('program started'); Case When arit_operation ='ADD' THEN dbms_output.put_line('addition of the numbers are:' || a+b); When arit_operation ='SUBtRACT' THEN dbms_output.put_line('subtraction of the numbers are:' || a-b); When arit_operation ='MULTIPLY' THEN dbms_output.put_line('multipliaction of the numbers are:' || a*b); When arit_operation ='DIVIDE' THEN dbms_output.put_line('division of the numbers are:' || a/b); Else Dbms_output.put_line('program ended'); End case; End;
run
|
edit
|
history
|
help
0
Sush_emp_work
testElham
Srinivas
myWorkbench
Understanding while loop
Srinivas
Oracle Practice
For loop
DBMS
[Implementação] Prova Supero - Oracle