pstu->age=10;
取模 - 左操作数除以右操作数的余数
例如:
public class Test { public static void main(String[] args) { int a = 10; int b = 3; int c = a % b; System.out.println(a + "%" + b + "=" + c); }}
运行结果: