PLSQL (LAB Assignments-1)
1) WAP to find the greatest of three numbers.
2) WAP to check whether number is odd or even.
3) WAP to find the grade. Consider the following:
Marks > 80 A grade
Marks >70 B grade
Marks >50 C grade
Marks > 40 D grade
Marks < 40 E grade
4) WAP to print the table of a given number.(use for loop)
5) WAP to find out the factorial of a given number.(use while loop)
6) WAP to find out the Fibonacci series.
7) WAP to find the reverse of a number
8) Write PL/SQL block that performs addition (+), subtraction (-), multiplication (*) and
division (/) of two numbers as choice by the user.
9) Write PL/SQL block to print 5, 10, 15,20 by using For Loop.
10) Write Pl/SQL block to display welcome message like good morning, good afternoon, good
night depending on system time.