当前位置:网站首页>Chapitre 1: le roi de shehan a mal calculé
Chapitre 1: le roi de shehan a mal calculé
2022-07-03 19:20:00 【Actions 4.】
int main()
{
double t, s, v, p;
int i, n;
printf(" Veuillez saisir le nombre de cellulesn:");
scanf("%d", &n);
t = 1;
s = 1;
for (i = 2; i <= n; i++)
{
t = t * 2;
s += t;
}
v = s / 2.4e7;
p = v / 2.48e9;
if (n <= 40) printf(" Le nombre total de grains de blé est de:%.0f\n", s);
else printf(" Le nombre total de grains de blé est de:%.3e\n", s);
printf(" Le poids du blé est d'environ:%fTonnes\n", v);
printf(" Environ l'équivalent de la production totale de l'Année mondiale de l'alimentation%.0fX\n", p);
return 0;
}
Résultats:
边栏推荐
- Free hand account sharing in September - [cream Nebula]
- [disease identification] machine vision lung cancer detection system based on Matlab GUI [including Matlab source code 1922]
- Why should the gradient be manually cleared before back propagation in pytorch?
- The more you talk, the more your stupidity will be exposed.
- ActiveMQ的基础
- Flume learning notes
- Record: install MySQL on ubuntu18.04
- I didn't cancel
- EGO Planner代码解析bspline_optimizer部分(2)
- The necessity of lean production and management in sheet metal industry
猜你喜欢

I study database at station B (4): DQL

FBI警告:有人利用AI换脸冒充他人身份进行远程面试

我们做了一个智能零售结算平台

Flutter network and data storage framework construction-b1

Free sharing | linefriends hand account inner page | horizontal grid | not for sale

Record the errors reported when running fluent in the simulator

BUUCTF

What does a really excellent CTO look like in my eyes

Smart wax therapy machine based on STM32 and smart cloud

Dart JSON编码器和解码器剖析
随机推荐
Simulation scheduling problem of SystemVerilog (1)
Pecan — @expose()
Ctrip will implement a 3+2 work system in March, with 3 days on duty and 2 days at home every week
第一章:递归求n的阶乘n!
The more you talk, the more your stupidity will be exposed.
Floating source code comment (38) parallel job processor
[leetcode] [SQL] notes
第二十章:y= sin(x)/x,漫步坐标系计算,y= sin(x)/x 带廓幅图形,奥运五环,小球滚动与弹跳,流水显示,矩形优化裁剪,r个皇后全控nxn棋盘
Zhang Fei hardware 90 day learning notes - personal record on day 5. Please see my personal profile / homepage for the complete record
A green plug-in that allows you to stay focused, live and work hard
The online customer service system developed by PHP is fully open source without encryption, and supports wechat customer service docking
第一章:拓广同码小数和s(d, n)
Webrtc[41] - Analysis of the establishment process of webrtc transmission channel
Day_ 18 IO stream system
FBI警告:有人利用AI换脸冒充他人身份进行远程面试
01 - QT OpenGL display OpenGL window
[optics] dielectric constant calculation based on MATLAB [including Matlab source code 1926]
High concurrency Architecture - distributed search engine (ES)
第二章:基于分解的求水仙花数,基于组合的求水仙花数, 兰德尔数,求[x,y]内的守形数,探求n位守形数,递推探索n位逐位整除数
Zhang Fei hardware 90 day learning notes - personal record of day 3, please see my personal profile / homepage for the complete