1个水分子的质量约为3.0×10^-23g,l夸脱水大约有950g。编写一个程序,要求输入水的夸脱数,
然后显示这么多水中包含多少个水分子。
#include<stdio.h> int main(void) { float a; printf("Please input how much quarts the water is:"); scanf("%f",&a); printf("%f quarts water has %e molecules.\n",a,a*950/3E-23); return(0); }
这道题你会答吗?花几分钟告诉大家答案吧!
扫描二维码,关注牛客网
下载牛客APP,随时随地刷题