import java.util.*;
class JPA03 {
public static void main(String argv[]) {
...
for (_______; ____________; _______) {
____ = ________;
}
System.out.println(__________________);
}
}作者: 巫晉宇 時間: 2018-7-3 20:31
import java.util.*;
class JPA02 {
static Scanner k = new Scanner(System.in);
public static void main(String[] args) {
test();
}
public static void test() {
System.out.println("Input :");
int o=k.nextInt();
int i;
int s = 0;
for( i=1;i<=o;i++)
{
i+=s;
System.out.println("1+.......+"+o+"="+s);
}