int main() { int sum = 0; for (int i = 0; i < 4; i = i + 1) { sum = sum + i; } return sum; }