1 2 3 4 5 6 7 8 9
#include <stdio.h> #include <math.h> /* 4 の 2 乗を表示する */ int main(void) { double result = pow(4,2); printf("%f\n", result); }
You can clone a snippet to your computer for local editing. Learn more.