CT

物联网205 陈腾 发表于2020年11月09日
<p>#include &lt;stdio.h&gt;</p><p>int main(){</p><p>&nbsp; &nbsp; 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(&quot;%f\n&quot;,childheight);</p><p>&nbsp; &nbsp; childheight = (fatherheight+0.923*motherheight)/2;</p><p> printf(&quot;%f\n&quot;,childheight);</p><p> return 0;</p><p><br ></p><p><br ></p><p> }</p><p><br ></p>