#include <iostream>#include <math.h> int main (){ printf ("5 ^ 3 = %f\n", pow(5.0, 3.0)); return 0;}
Standard input is empty
5 ^ 3 = 125.000000
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!