Main.cc: In function 'int main()':
Main.cc:12:27: warning: format '%lf' expects argument of type 'double', but argument 2 has type 'const char*' [-Wformat=]
printf("%.2lf","¥",n)
^
Main.cc:12:27: warning: too many arguments for format [-Wformat-extra-args]
Main.cc:13:5: error: expected ';' before 'return'
return 0;
^