#include<stdio.h>
#include<math.h>
int main()
{
  
    int a=16,y;
    //根号表示sqrt
    y=sqrt(a);
    printf("%d",y);

}

更多推荐

C语言根号使用