At Wednesday 4/30/2008 06:40 PM, you wrote:
> >I've already written this program, with a few differences. >Here's my
> >output. Can you tell me what grade your instructor will >give me?
> >Please enter a number (0 to quit): 115746.50
> >Your number was 115746.50
> >ONE HUNDRED FIFTEEN THOUSAND SEVEN >HUNDRED FORTY-SIX POINT FIVE ZERO
>maybe converting it to rupies, paes, and lakes helpes mask the project? ;)
>Thanks,
>~~TheCreator~~


I'm not exactly sure how to do Indian currency. I'm guessing 1 Lake = 
100,000 Rupees. I'm not going to change my code logic specifically 
for the OP. I changed the currency names, though. The OP (i.e. 
student) will need to create their own program, of course.

Please enter a number (0 to quit): 1,15,746.50
One Hundred Fifteen Thousand Seven Hundred Forty Six Rupees and Fifty Paise

~Rick

>Visit TDS for quality software and website production
>http://tysdomain.com
>msn: [EMAIL PROTECTED]
>skype: st8amnd127
>   ----- Original Message -----
>   From: ~Rick
>   To: [email protected]
>   Sent: Wednesday, April 30, 2008 4:36 PM
>   Subject: Re: [c-prog] need a sample programme
>
>
>   At Tuesday 4/29/2008 03:54 AM, you wrote:
>   >Dear friends have a nice time,
>   > i need sample programme in c to convert number into words.
>   >
>   >like:
>   >
>   >input : 1,15,746.50
>   >output: one lakes fifteen thousand seven hundred and forty six
>   >rupees and fifty paise
>   >i need your help.
>   >thanking you guys.
>
>   I've already written this program, with a few differences. Here's my
>   output. Can you tell me what grade your instructor will give me?
>
>   Please enter a number (0 to quit): 115746.50
>
>   Your number was 115746.50
>   ONE HUNDRED FIFTEEN THOUSAND SEVEN HUNDRED FORTY-SIX POINT FIVE ZERO
>
>   >
>   >---------------------------------
>   > Unlimited freedom, unlimited storage. Get it now
>   >
>   >[Non-text portions of this message have been removed]
>   >
>   >
>   >------------------------------------
>   >
>   >To unsubscribe, send a blank message to
>   ><mailto:[EMAIL PROTECTED]>.Yahoo! Groups Links
>   >
>   >
>   >
>
>
>
>
>[Non-text portions of this message have been removed]
>
>
>------------------------------------
>
>To unsubscribe, send a blank message to 
><mailto:[EMAIL PROTECTED]>.Yahoo! Groups Links
>
>
>

Reply via email to