package guoke;
public class ceshi163202217 {
public static void main(String []arge){
int sum =0;
int num =2;
do{
sum =sum + num;
num =num +2;
} while(num <= 5);
System.out.println(sum);
}
输出5以内偶数的和
谢谢,特别感谢