用java while循环求1-100所有能被3整除的数的和?
问题描述:
用java while循环求1-100所有能被3整除的数的和?
答
public class Sum { int sum() { int i = 1; int sum = 0; while(i
用java while循环求1-100所有能被3整除的数的和?
public class Sum { int sum() { int i = 1; int sum = 0; while(i