PLSQL
PLSQL
Define your own values for the length and width. (Assuming that L and W are the
length and width of the rectangle, Perimeter = 2*(L+W) and Area = L*W. Display the
output on the screen using dbms_output.put_line.
2. Write a PL/SQL block that declares an integer variable called num, assigns a value to
it, and computes and inserts into the tempp table the value of the variable itself, its
square, and its cube.
3. Write a PL/SQL block that converts a temperature in Fahrenheit (F) to its equivalent
in Celsius (C) and vice versa. The required formulae are:-
C= (F-32)*5/9
F= 9/5*C + 32
Display the output on the screen using dbms_output.put_line. Data has to be input
by the user.