[20160725]ArithmeticTest

 public class ArithmeticTest{
public static void main(String[] args) {
int [] a={1,3,5,7,9,11,13,15};
int [] b={1,3,5,7,9,11,13,15};
int [] c={1,3,5,7,9,11,13,15}; for(int i=0;i<a.length;i++){
for(int j=0;j<b.length;j++){
for(int k=0;k<c.length;k++){
int number1 = a[i];int number2=b[j];int number3=c[k];
if(number1+number2+number3==30){
System.out.printf("%d+%d+%d=30%n",number1,number2,number3);
}
}
}
}
}
}
上一篇:FFMpeg笔记(五) 录制小视频时几个问题解决


下一篇:(五)Qt实现自定义模型基于QAbstractItemModel