标签:http io ar 使用 sp java div on bs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
//import java.util.Scanner; import java.io.*; import java.util.*; public class AaddB { public static void main(String[] args) { int a = 0 , b = 0 , c = 0 ; Scanner input_data = new Scanner(System.in); try { // System.out.println("please input a number:\n"); a = input_data.nextInt(); b = input_data.nextInt(); c = a + b; // System.out.println("c = " + c + "\n"); System.out.println(c); } catch (Exception e) { System.out.println( "Over the largest number\n" ); } } } |
源于:http://www.huiyi8.com/
标签:http io ar 使用 sp java div on bs
原文地址:http://www.cnblogs.com/lhrs/p/4095692.html