![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java代码(大二上)
文章平均质量分 73
ccDLlyy
不忘初心,方得始终
展开
-
每个单词间一个空格,首字母大写
//First,change the words to the standard form,where every word is separated by only one blank //Second,change every word's first alphabet to the upper import java.util.*; import java.lang.*; class Dea原创 2016-11-07 13:53:03 · 2042 阅读 · 0 评论 -
全排列
//The algorithm of full arrangement from the teacher ZhengLiu import java.util.*; class Deal{ int n; int count=0; int array[]; Deal(int n){ this.n=n; array= new int[n+1]; for(int i=1;i<=n;i原创 2016-11-07 13:54:17 · 298 阅读 · 0 评论 -
数字转换为通俗汉字
package java拓展; import java.util.*; public class Transofmoney {//钱数用中文表示 public static void main(String args[]){ char add[]={'千','百','十','亿','千','百','十','万','千','百','十'}; char num[]={'零','壹','原创 2016-11-07 13:58:14 · 520 阅读 · 0 评论 -
TransMoney
法一:自己 //只能精确到千亿位,老师的可以随意位 package week; import java.util.*; public class TransMoney { public static void main(String []args){ char []digit={'零','一','二','三','四','五','六','七','八','九'}; char []loc={原创 2016-11-21 13:04:46 · 394 阅读 · 0 评论