Aptitude Question:
Download Questions PDF

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;

Download Aptitude Interview Questions And Answers PDF

Previous QuestionNext Question
Cube has colors blue, red ,yellow each on two opposite sides. cube is divided into "32 small cubes and 4 large cubes". question: how many cubes (on 36 cubes) have blue at least one side. how many cubes have colors on two sides?The cost of 17 apples, 9 oranges , 13 bananas is rs 130 , whereas cost of 13 oranges, 7 apples and 10 bananas is rs 100. find the cost of 1 apple , 1 banana and 1 orange put together?