fork download
  1. #include <stdio.h>
  2. #include<math.h>
  3. int main(void)
  4. {
  5. printf("%lf",pow(2,3));//first var is the base and the 2nd variable is the power
  6. //pow() returns a double!!!
  7. return 0;
  8. }
Success #stdin #stdout 0s 1788KB
stdin
Standard input is empty
stdout
8.000000