博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
小程序获取地图圆的半径_接受圆半径并打印其区域的C程序
阅读量:2506 次
发布时间:2019-05-11

本文共 516 字,大约阅读时间需要 1 分钟。

小程序获取地图圆的半径

#include<stdio.h>
#include<conio.h>

void main()
{


float radius,area;
clrscr(); //to clear the screen
printf(“Enter radius of the circle:”);
scanf(“%f”,&radius);
area=3.14*(radius*radius);
printf(“Area=%f”,area);
getch(); //to stop the screen
}

#include<stdio.h>
#include<conio.h>

void main()
{


float radius,area;
clrscr(); //to clear the screen
printf(“Enter radius of the circle:”);
scanf(“%f”,&radius);
area=3.14*(radius*radius);
printf(“Area=%f”,area);
getch(); //to stop the screen
}

翻译自:

小程序获取地图圆的半径

转载地址:http://rrwwd.baihongyu.com/

你可能感兴趣的文章
《算法竞赛入门经典》习题2-6 三位数排列
查看>>
调用meitu秀秀.so文件实现美图功能
查看>>
【Django】其他项目导入到Pycharm无法使用,报错:Error: Django is not importable in this environment...
查看>>
【Excle数据透视表】如何让字段标题不显示“求和项”
查看>>
学习记录2
查看>>
c++ 模板template
查看>>
"Cannot open source file "Wire.h" " in Arduino Development
查看>>
UITableViewCell
查看>>
mian函数之前执行函数,和main函数之后执行函数
查看>>
javascript中的string对象
查看>>
CString的成员函数详解
查看>>
Appium Studio 初体验(windows做ios自动化,录制appium脚本)
查看>>
学习java前端 两种form表单提交方式
查看>>
Linux常用命令
查看>>
整体二分&cdq分治 ZOJ 2112 Dynamic Rankings
查看>>
【POJ2976】Dropping tests (01分数规划入门题)
查看>>
无法变更启动序列号
查看>>
Linux修改密码指令
查看>>
算法(第四版)C# 习题题解——2.1
查看>>
通过正则表达式获取url中参数
查看>>