import java.util.Scanner;
?
public class whileDome01{
public static void main(String[] args) {
double a=0;
while (a<900){
a=a+5;
System.out.println(a);
}
}
}
public class whileDome02 {
public static void main(String[] args) {
int a=0;
int sum=0;
while (a<=100){
++a;
sum=a+sum;
?
?
System.out.println(sum);
}
}
}
原文:https://www.cnblogs.com/java5745/p/14656721.html