public class Main { public static void main(String[] args) { int sum = 0; // Use a while loop to calculate the sum of 1 to 1000 System.out.println(sum); } }
cxxyjsj
相关分类