新手小白做的,错误的地方欢迎指正
package practice19;
public class ForNumber3 {
public static void main(String[] args) {
for(int x=0; x<=9; x++){
for(int y=0; y<=9; y++){
for(int z=0; z<=9; z++){
if((100*x+10*y+z)+(100*y+11*z)==532){
System.out.println("x的值为:"+x+"\n"+"y的值为:"+y+"\n"+"z的值为:"+z);
}
}
}
}
}
}