0_0_37545875_4307.cpp: In function 'int main()': 0_0_37545875_4307.cpp:32:69: error: 'k' was not declared in this scope printf("%.2lf\n", 1.0 * 24 * 60 * 60 / 2 * 60 / x * k); ^