You need to specify the max level upto which you want it to work.
For rest, is there any prob?
I can't see any.
you see ninety - 90
u see thousand - 90*1000
+
and so on
--
Rohit Saraf
Second Year Undergraduate,
Dept. of Computer Science
On Sun, Jun 20, 2010 at 6:34 PM, debajyotisarma
sarma.debajy...@gmail.comwrote:
How to device an algorithm for converting the number given in words to
an int?
Eg:
i/p : ninety thousand two hundred fourth three
o/p: 90243
even the number can be very big ... in million or billion ...
Here