LintCode试题方法
阿里学长
People with weak emotion will never earn the right to be appointed with high expectation responsibilities.
展开
-
得到一个整数每个位数上的数字
代码: public static void main(String []args){ System.out.println("Please Input a Num:"); Scanner sc=new Scanner(System.in); int num=sc.nextInt(); int a,b,c; whi...原创 2020-01-04 19:54:32 · 696 阅读 · 0 评论 -
将字符串转换成字符
将字符转换成字符 代码 使用toCharArray()方法将字符转换成字符数组。 public class TestAll { public static void main(String []args){ Scanner sc=new Scanner(System.in); System.out.println("Please Input Your S...原创 2020-01-03 20:56:00 · 5872 阅读 · 0 评论