#include<stdio.h> int main(void) { int x, y = 0; for(x = 0; x++ < 3;) { y += x; printf("%d %d\n", x, y); } return 0; }