Demo entry 1945418

sqrt

   

Submitted by anonymous on Jun 17, 2015 at 03:55
Language: C. Code size: 180 Bytes.

#include <stdio.h>
#include <math.h>
 
int main(void)
{
  double x = 9.0; //変数を宣言しながら初期化する
  double y = 0; 
  // 平方根の計算
  y = sqrt(x);
  printf("y=%f", y);
  return 0;
}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).