小坚321

导航

2016年3月25日 #

写一个程序,用于分析一个字符串中各个单词出现的频率,并将单词和它出现的频率输出显示。(单词之间用空格隔开,如“Hello World My First Unit Test”)

摘要: public class Test { public void index() { String strWords = "Hello World My First Unit Test"; String[] words_Array = strWords.split(" "); Map<String,I 阅读全文

posted @ 2016-03-25 14:20 小坚321 阅读(127) 评论(0) 推荐(0) 编辑

计算机代码

摘要: #include <stdio.h> void main() { int x,y,z; char c; printf("请输入第一位数:\n"); scanf("%d",&x); printf("请输入第二位数:\n"); scanf("%d",&y); getchar(); printf("请输入 阅读全文

posted @ 2016-03-25 14:17 小坚321 阅读(248) 评论(1) 推荐(0) 编辑