company.cpp:3:8: error: expected initializer before '.' token
company.cpp: In function 'int main()':
company.cpp:4:29: error: 'm' was not declared in this scope
company.cpp:4:36: error: 'i' was not declared in this scope
company.cpp:4:60: error: 'x' was not declared in this scope
company.cpp:4:63: error: 'p' was not declared in this scope
company.cpp:4:90: error: 'ans' was not declared in this scope
company.cpp:4:94: error: 'p' was not declared in this scope
company.cpp:4:120: error: 'ans' was not declared in this scope