问答题
【参考答案】
(A)double r;double area;(B)circle( ){ r=0; }(C)column(double......
(↓↓↓ 点击下方‘点击查看答案’看完整答案、解析 ↓↓↓)
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
问答题
简单应用题请编写一个函数int fun(int nFirst,int nSecond),求两个数的最小公倍数并返回这个值。注意:部分源程序已存在文件test13_2.cpp中。如输入7和8时,结果是56。请勿修改主函数main和其他函数中的任何内容,仅在函数fun的花括号中填写若干语句。文件test13_2的内容如下:#includeint fun(int nFirst,int nSecond);void main(){ int nFirst, nSecond; cout>nFirst; cout>nSecond; cout<< 最小公倍数: <<fun(nFirst,nSecond)<<endl;}int fun(int nFirst,int nSecond){}
点击查看答案&解析
相关试题
改错题使用VC6打开考生文件夹下的工程test...