- 学·问
- 帖子详情
CT
物联网205 陈腾
发表于2020年11月09日
<p>#include <stdio.h></p><p>int main(){</p><p> float fatherheight=1.74</p><p> float motherheight=1.67</p><p> float childheight</p><p> childheight = (fatherheight+motherheight)*1.08/2;</p><p> printf("%f\n",childheight);</p><p> childheight = (fatherheight+0.923*motherheight)/2;</p><p> printf("%f\n",childheight);</p><p> return 0;</p><p><br ></p><p><br ></p><p> }</p><p><br ></p>