package org.mobiletrain;

public class Example02 {

    public static void main(String[] args) {
        int total = 0;
        for (int i = 1; i <= 100; ++i) {
            total += i;
        }
        System.out.println(total);
    }
}
