Main.cc: In function 'int main()': Main.cc:8:10: warning: statement has no effect [-Wunused-value] x/2; ^ Main.cc:10:19: error: 'print' was not declared in this scope print("%.6f",x) ^