DECLARE F number:=&Fahrenheit;
C number:=&Celsius;
RESULT number;
BEGIN RESULT:=(F-32)*5/9;
dbms_output.put_line('Fahrenheit value entered '||F||' equal to celsius :'||' '||round(RESULT));
RESULT:=9/5*C+32;
dbms_output.put_line('Celsius value entered '||C||' equal to fahrenheit :'||' '||RESULT);
END;
/