Run id: 104859

Main.cc: In function 'int main()':
Main.cc:11:20: error: 'q' was not declared in this scope
     printf("%.2lf",q);
                    ^