0_0_35157632_20487.cpp: In function 'int main()': 0_0_35157632_20487.cpp:56:55: error: 'fx' was not declared in this scope printf("Company %d is a part of company %d.\n",x,fx); ^