class ForSum { static void main() { int total = 0; for (int i = 1; i <= 5; i = i + 1) { total = total + i; } print(total); } }