本帖最后由 sk0806 于 2014-8-14 15:40 编辑
- import java.util.Scanner;
- class Demo
- {
- public static void main(String [] args)
- {
- int a,b,c;
- Scanner input=new Scanner(System.in);
- a=input.nextInt();
- b=input.nextInt();
- c=input.nextInt();
- System.out.println(a+b+c);
- }
- }
复制代码 结果截图:
|
|