c语言中求平方根#include#includeint main(){double x,y;printf("请输入x:");scanf("%f",&x);if (0

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/09 04:51:58

c语言中求平方根#include#includeint main(){double x,y;printf("请输入x:");scanf("%f",&x);if (0
c语言中求平方根
#include
#include
int main()
{
double x,y;
printf("请输入x:");
scanf("%f",&x);
if (0

c语言中求平方根#include#includeint main(){double x,y;printf("请输入x:");scanf("%f",&x);if (0
#include
#include
int main()
{
double x,y;
printf("请输入x:");
scanf("%lf",&x); //double用lf
if (0