文件名称:test
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2013-10-24
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- br***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
设有3个数组内容如下:
String x[]={"zero","one","two", "three","four", "five","six","seven","eight","nine"}
String y[]={"ten","eleven","twelve","thirteen","fourteen","fifteen", "sixteen","seventeen","eighteen","nineteen" }
String z[]={"twenty","thirty","forty","fifty", "sixty","seventy", "eighty","ninety" }
用Java命令行输入一个小于100的整数,将其翻成英文表示。
例如:
输入32,输出:thirty two
输入14,输出:fourteen
输入8,输出:eight
反之,输入英文表示,输出相应的整数
-Has three arrays as follows: String x [] = {" zero" , " one" , " two" , " three" , " four" , " five" , " six" , " seven" , " eight" , " nine" } String y [] = {" ten" , " eleven" , " twelve" , " thirteen" , " fourteen" , " fifteen" , " sixteen" , " seventeen" , " eighteen" , " nineteen" } String z [] = {" twenty" , " thirty" , " forty" , " fifty" , " sixty" , " seventy" , " eighty" , " ninety" } Java command line input with a value less than 100. integer representation of its translated into English. For example: input 32, output: thirty two input 14, output: fourteen input 8 output: eight Instead, type in English, said output corresponding integer
String x[]={"zero","one","two", "three","four", "five","six","seven","eight","nine"}
String y[]={"ten","eleven","twelve","thirteen","fourteen","fifteen", "sixteen","seventeen","eighteen","nineteen" }
String z[]={"twenty","thirty","forty","fifty", "sixty","seventy", "eighty","ninety" }
用Java命令行输入一个小于100的整数,将其翻成英文表示。
例如:
输入32,输出:thirty two
输入14,输出:fourteen
输入8,输出:eight
反之,输入英文表示,输出相应的整数
-Has three arrays as follows: String x [] = {" zero" , " one" , " two" , " three" , " four" , " five" , " six" , " seven" , " eight" , " nine" } String y [] = {" ten" , " eleven" , " twelve" , " thirteen" , " fourteen" , " fifteen" , " sixteen" , " seventeen" , " eighteen" , " nineteen" } String z [] = {" twenty" , " thirty" , " forty" , " fifty" , " sixty" , " seventy" , " eighty" , " ninety" } Java command line input with a value less than 100. integer representation of its translated into English. For example: input 32, output: thirty two input 14, output: fourteen input 8 output: eight Instead, type in English, said output corresponding integer
(系统自动生成,下载前可以参看下载内容)
下载文件列表
test.txt
test.java