0_0_18476025_32402.cpp: In function 'int main()': 0_0_18476025_32402.cpp:21:13: error: 'tmp' was not declared in this scope if( tmp%100==0 ) printf("$%.0f\n",sum); ^