参考代码:
import java.util.Scanner; public class Main9 { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub //2216 Scanner scanner=new Scanner(System.in); int a=scanner.nextInt(); int b=scanner.nextInt(); GetTwoInts(a, b); } public static int GetTwoInts(int x,int y) { int num=x+y; System.out.println(num); return num; } }
0.0分
2 人评分
C语言程序设计教程(第三版)课后习题8.3 (C语言代码)浏览:638 |
妹子杀手的故事 (C语言代码)浏览:1233 |
C语言程序设计教程(第三版)课后习题6.3 (C语言代码)浏览:946 |
C语言程序设计教程(第三版)课后习题1.5 (C语言代码)浏览:539 |
wu-理财计划 (C++代码)浏览:835 |
C语言程序设计教程(第三版)课后习题10.3 (C语言代码)浏览:535 |
2003年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码)浏览:817 |
汽水瓶 (C语言代码)浏览:536 |
蓝桥杯基础练习VIP-报时助手 (C++代码)浏览:1066 |
【回文数(二)】 (C语言代码)浏览:693 |