Professional Documents
Culture Documents
Question 1
Create a package which contains function to ask the user to enter the student’s
marks and determine the GRADE according to the following criteria.
>90 A
>80AND <90 B
>70AND <80 C
>60 AND<70 D
<60 F
end marks_stu;
BEGIN
IF score>90 THEN
grade := 'A';
return (grade);
declare
sc number:=75; grd char(2); res char(2);
begin
res:=marks_stu.grade_info(sc,grd); end;
OUTPUT