2 Star 2 Fork 0

sjbb666/c语言牛刀小试

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
if else求开根.c 227 Bytes
一键复制 编辑 原始数据 按行查看 历史
sjbb666 提交于 2023-11-16 12:17 +08:00 . c语言
#include<stdio.h>
#include<math.h>
int main()
{
int x,b;
printf("please input x:");
scanf("%d",&x);
if(x<=1000&&x>0)
b=sqrt(x);
else
printf("please input again");
printf("%d\n",b);
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/sjbb666/c-language-knife-test.git
git@gitee.com:sjbb666/c-language-knife-test.git
sjbb666
c-language-knife-test
c语言牛刀小试
master

搜索帮助