<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><style type="text/css"&g…
declare i number:=1; j number:=0; sum1 number:=0;begin while(i<100) loop i:=i+1; j:=2; while(mod(i,j)!=0) loop j:=j+1; if(i=j) then exit; end if; end loop; if(i=j) then sum1:=sum1+i; DBMS_OUTPUT.PUT_LINE(i); end if; end loop; DBMS_OUTPUT.PUT_LINE(SUM…