Answer to Question #235321 in Databases | SQL | Oracle | MS Access for Tarurendra Kushwah

Question #235321
Write a PL/SQL program to find odd or even number.
1
Expert's answer
2021-09-12T00:12:54-0400
DECLARE
    num NUMBER :=32;
BEGIN
    
    IF MOD(num, 2) = 0 THEN
      dbms_output.Put_line('Number is Even');
    ELSE
      dbms_output.Put_line('Number is Odd');
    END IF;
END;

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS