Vampire Numbers

This is quite a simple problem primarily for the newcomers into Exun’s programming team (basically for class VIII or below).

Vampire numbers are four digit numbers in which the two numbers multiplied are in the product – for example, 15 x 93 = 1395.

Write a program, as short as possible, that finds every vampire number.

-Abhijit

Leave a Reply

Your email address will not be published. Required fields are marked *