Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
    Bookmark Topic Watch Topic
  • New Topic

a program question

 
dave
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Report post to moderator
I'm having a trouble writing a program that will take, as String input of a English description of a number (0 - 9999), and print out the number in numeric format. For example,
if you input
Five thousand three hundred forty five
the program should print
5345
Thank you so much for your help.
 
Pawel Veselov
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
  • Report post to moderator
Not a Java question. May be belongs to Cattle Drive ?
And please, don't crosspost your messages like this...

------------------
With best of best regards, Pawel S. Veselov ( aka Black Angel )
 
    Bookmark Topic Watch Topic
  • New Topic