每日一题 7

在这里插入图片描述

#include"stdio.h"
void main()
{
int x;
printf(“please input the x:\n”);
scanf(“x=%d”,&x);
if(x==0)
printf(“y=0\n”);
else
printf(“y=%f\n”,1.0/x);
}

猜你喜欢

转载自blog.csdn.net/drake_gagaga/article/details/113146924