Main.cc: In function ‘int main()’: Main.cc:6:11: error: ‘m’ was not declared in this scope bmi=kg/((m*m)/10000); ^ Main.cc:6:11: note: suggested alternative: ‘cm’ bmi=kg/((m*m)/10000); ^ cm