Rakibul Islam wrote:
> 
> Three brilliant school girls walking along see a car hit a cyclist and fled 
> away. They report the matter to the police like this : 
> 
> Girl 1: I couldn't see the entire number of the car, but I remember that it 
> was a four digit number and it's first two digits were divisible by 11
> 
> Girl 2 : I could see only the last two digits of the car's number, and they 
> two formed a number divisible by 11.
> 
> Girl 3 : I saw the hole number but i forgot. But I am sure that the whole 
> number was a perfect square.
> 
> Can you help the police trace the car by a C program?

Try doing this on paper first - it will help formulate a coherent 
approach for writing the code.  Girl 3 is probably a good spot to start. 
  Some number squared is four digits in length and has its first two and 
last two digits divisible by 11.

-- 
Thomas Hruska
CubicleSoft President
Ph: 517-803-4197

*NEW* MyTaskFocus 1.1
Get on task.  Stay on task.

http://www.CubicleSoft.com/MyTaskFocus/

Reply via email to