Answers

Question and Answer:

  Home  Aptitude

⟩ 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?

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;

 175 views

More Questions for you: