CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
jackfrued

CoCalc provides the best real-time collaborative environment for Jupyter Notebooks, LaTeX documents, and SageMath, scalable from individual users to large groups and classes!

GitHub Repository: jackfrued/Python-100-Days
Path: blob/master/番外篇/code/Test02.java
Views: 729
1
class Test02 {
2
3
public static void main(String[] args) {
4
int total = 0;
5
for (int i = 1; i <= 100; ++i) {
6
total += i;
7
}
8
System.out.println(total);
9
}
10
}
11