1.

A No. Of Cats Got Together And Decided To Kill Between Them 99919 Mice. Every Cat Kills Equal No. Of Mice. Write A Program To Find No. Of Cats?

Answer»

No. of Cats: 163, 613, or 99919
declare
-- LOCAL variables here
i integer;
begin
-- Test statements here
for i in 1..99919 loop
if mod(99919,i) = 0 then
dbms_output.put_line (i);
END if;
end loop;
end;

No. of Cats: 163, 613, or 99919
declare
-- Local variables here
i integer;
begin
-- Test statements here
for i in 1..99919 loop
if mod(99919,i) = 0 then
dbms_output.put_line (i);
end if;
end loop;
end;



Discussion

No Comment Found