public static void main(String args[]){ int x=1; for(int x=1;x<=9;x++){ x=(x+1)*2; } System.out.println(x); } 相关文章: