P51 第九题
来源:互联网 发布:java权限表设计 编辑:程序博客网 时间:2024/05/18 01:28
#include<stdio.h>
#include<stdlib.h>
int main()
{
int x,y,i=1;
printf("请输入坐标\n");
while(i<=3)
{
scanf("%d %d",&x,&y);
if((x-2)*(x-2)+(y-2)*(y-2)>1)
printf("(%d,%d)在圆外\n",x,y);
if((x-2)*(x-2)+(y-2)*(y-2)==1)
printf("(%d,%d)在圆上\n",x,y);
if((x-2)*(x-2)+(y-2)*(y-2)<1)
printf("(%d,%d)在圆内\n",x,y);
i++;
}
return 0;
}
0 0
- P51 第九题
- P51 第九题
- P51题13题
- P51 第一题
- P51 第一题
- P51 第3题
- P51 第4题
- P51 第6题
- P51 第一题
- P51页 第三题
- P51 第四题
- p51,第3题
- p51,第4题
- P51 第六题
- P51胡晓燕第四题
- P51胡晓燕11题
- P51第4题
- P51第6题
- Eclipse无法打开"Failed to load the JNI shared library"
- linux 显示磁盘的相关信息之df
- NGUI -- UISprite和UITexture的区别和选择
- 第4周项目3用对象数组
- Nosql的实际应用场景
- P51 第九题
- Set up git server on ubuntu using ssh protocol(已经测试可以)
- Why do people use gradient boosted decision trees to do feature transform?
- 2015年3月30号
- new和newInstance()的区别
- 阿里巴巴2014校园招聘研发笔试JAVA附加题一
- ExpandableListView设置选中child的背景
- EPS
- CSS3 参考指南:文字阴影text-shadow