Snippets

sironekotoro C言語での二乗計算

Created by sironekotoro
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);
}

Comments (0)

HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.