1.对两个整型变量进行除法、取模和自加运算(1)在项目MyProject2中创建DivModDemo类。(2)在代码编辑器中输入以下代码:/** * *//** * @author solo * */public class DivModDemo { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub int a=8,b=5; System.out.println(a+"/"+b+"... Read More
posted @ 2013-05-03 20:04 源子陌 Views(430) Comments(0) Diggs(0)