摘要: 5./**功能:输出字符型的加法计算*/ public class So{ public static void main(String[] args) { System.out.println((char)('a'+1)); System.out.println((char)('你'+1)); } 阅读全文
posted @ 2017-09-24 21:48 林枫lf 阅读(318) 评论(0) 推荐(0) 编辑
摘要: // 2.6 //程序员:林枫 /**功能:在键盘输入一个三位数,求它们的各数位之和。 *1、使用Scanner关键字来实现从键盘输入的方法。 *2、使用取余的方法将各个数位提取出来。 *3、最后将得到的各个数位相加。 */ import java.util.Scanner; public clas 阅读全文
posted @ 2017-09-16 19:04 林枫lf 阅读(100) 评论(0) 推荐(0) 编辑
摘要: 1.3 public class Lf{ public static void main(String[] args){ System.out.println(" J A V V A"); System.out.println(" J A A V V A A"); System.out.printl 阅读全文
posted @ 2017-09-11 21:07 林枫lf 阅读(105) 评论(0) 推荐(0) 编辑