Main.cc: In function 'int main()': Main.cc:19:31: error: 'print' was not declared in this scope print("%.2lf",c*100.0/(n*m)); ^