当前位置:网站首页>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:
边栏推荐
- Flutter网络和数据存储框架搭建 -b1
- 交叉编译Opencv带Contrib
- Ego planner code parsing Bspline_ Optimizer section (2)
- Go home early today
- EGO Planner代碼解析bspline_optimizer部分(1)
- The earliest record
- Thinking about festivals
- Which do MySQL and Oracle learn?
- Flask generates swagger documents
- Sqlalchemy - subquery in a where clause - Sqlalchemy - subquery in a where clause
猜你喜欢
Sentinel source code analysis part I sentinel overview
Free sharing | linefriends hand account inner page | horizontal grid | not for sale
Basic principle of LSM tree
Simulation scheduling problem of SystemVerilog (1)
[free sharing] kotalog diary2022 plan electronic manual ledger
【水质预测】基于matlab模糊神经网络水质预测【含Matlab源码 1923期】
Record: MySQL changes the time zone
第一章:喝汽水,阶梯电费计算,阶梯电费计算函数,个人所税,求解平方根不等式,简化求解平方根不等式,求解调和级数不等式,解不等式:d<1+1/2-1/3+1/4+1/5-1/6+..士1/n
Flume learning notes
第一章:求同吗小数和s(d, n)
随机推荐
【光学】基于matlab介电常数计算【含Matlab源码 1926期】
These problems should be paid attention to in the production of enterprise promotional videos
【学术相关】顶级论文创新点怎么找?中国高校首次获CVPR最佳学生论文奖有感...
Scrapy爬虫框架
SSM整合-前后台协议联调(列表功能、添加功能、添加功能状态处理、修改功能、删除功能)
Webrtc[41] - Analysis of the establishment process of webrtc transmission channel
Ego planner code parsing Bspline_ Optimizer section (3)
达梦数据库的物理备份和还原简解
The installation path cannot be selected when installing MySQL 8.0.23
Thinking about festivals
Le changement est un thème éternel
[new year job hopping season] test the technical summary of interviewers' favorite questions (with video tutorials and interview questions)
Compared with 4G, what are the advantages of 5g to meet the technical requirements of industry 4.0
Using the visualization results, click to appear the corresponding sentence
[academic related] how to find the innovation of top papers? Chinese universities won the CVPR Best Student Thesis Award for the first time
Free year-end report summary template Welfare Collection
Zhang Fei hardware 90 day learning notes - personal records on day 2, please see my personal profile / homepage for the complete
BUUCTF
Failed to start component [StandardEngine[Catalina]. StandardHost[localhost]. StandardContext
Yolov3 network model building