填空题

在算法的5个特性中,算法必须能在执行有限个步骤之后终止,指的是算法的 【2】 性。

【参考答案】

有穷
<上一题 目录 下一题>
热门 试题

单项选择题
有以下程序: #include<iostream> using namespace std; int main() int x=15; while(x>10&&x<50) X++; if(x 3) X++;break; cout<<x<<endl; remm 0; 执行后的输出结果是( )。
A.15
B.16
C.17
D.18
单项选择题
下面程序的运行结果是( )。 #include<iostream.h> int x=5; int fun(int a) int c; C=X*a; retum c; void main() int x=3,a=4; x=x+fun(a); cout<< x ”<<X<<endl;
A.x=15
B.x=17
C.x=23
D.x=25
相关试题
  • 下面程序的输出结果是 【15】 。 #in...
  • 下面程序的运行结果是 【13】 。 #in...
  • 有以下程序 #include<iostream> using...
  • 以下程序的执行结果是 【14】 。 #in...
  • 若已定义,以下fun函数的功能是:在第一个...