package com.aa;
/**
* @author Administrator
*赋值运算符
*/
public class Demo6 {
public static void main(String[] args) {
int one=10;
int two=20;
int three=0;
three=one+two;
System.out.println(three);//加法
three+=one;
System.out.println(three);//自加
three-=one;
System.out.println(three);//jianfa
three*=one;
System.out.println(three);//乘法
three /=one;
System.out.println(three);//除法
three%=one;//qumo
System.out.println(three);
}
}