By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,605 Members | 1,488 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,605 IT Pros & Developers. It's quick & easy.


P: 1
I am Teju
can any body solve thte following problams
plz send me immidiatly [ I need answers within two hours]

1.write a C- program that converts one base nomber [decimal,octal,binary& hexadecimal] to other base

2.write a C- program that accepts nombers[ like 1, 45 ,5436,879600]as input from user and should prints in words.
ex:- input-600543
output-six lacs five hundred fourty three
Nov 14 '06 #1
Share this Question
Share on Google+
1 Reply

P: 19
i think i can help with the second program ,i got something similar like that for my assingment (it was upto maximum 3 digit number).
*ask the user how many digit number does he want to input
*scan the number using an array
*declare something like char *n[10]={"one","two",......................,"nine"},
*for number's from 10....19,
20,30....90,etc till depending on the no:of digits in the number required
and each time checking the input number one by one with those char arrays
and printing the result.
Nov 14 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.