0_0_29068819_18716.cpp: In function 'int main()': 0_0_29068819_18716.cpp:45:19: error: 'i' was not declared in this scope scanf("%d %d",&i,&j); ^ 0_0_29068819_18716.cpp:45:22: error: 'j' was not declared in this scope scanf("%d %d",&i,&j); ^