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 and Engineering
IIT Bombay
http://www.cse.iitb.ac.in/~rohitfeb14


On Sun, Jun 20, 2010 at 6:34 PM, debajyotisarma
<[email protected]>wrote:

> 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 ...
>
> --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<algogeeks%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to