Java程序.我需要这个程序的帮助 [英] java program. i need the help of this program

查看:64
本文介绍了Java程序.我需要这个程序的帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望程序提示将1到100的整数之间的数字转换为单词
通过使用简单的核心Java概念

例如
:
如果用户输入"5"
那么输出应该是五个".

i want the program hint to convert number between 1- 100 integer into words
by using simple core java concepts

as example
:
if user input "5"
then out put should be "Five"

推荐答案

Number To Word (Arabic Version)[^]

great article, not for Java, but the development behind that is general.

Your HOMEWORK is much smaller, but the system also works for you: split the number and figure out how much digits it has got. Then translate each digit.

For more help you''ll have to provide your code.


提示:将数字分解成几个组成部分-单位,数十,数百...

其余的应该很容易.
Hint: break your number down into its constituent parts - units, tens, hundreds ...

The rest should be easy.


这篇关于Java程序.我需要这个程序的帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆