有分支结构如下: if(n>100) cout<<0<<endl; else if(n==200) cout<<1<&

大学网课 已帮助 人

有分支结构如下: if(n>100) cout<<0<<endl; else if(n==200) cout<<1<<endl; else if(n<=100) cout<<-1<<endl; else cout<<"end"<<endl; 如果n赋值为200,则输出结果为______。

A.0

B.1

C.-1

D.end

有分支结构如下: if(n&gt;100) cout&lt;&lt;0&lt;&lt;endl; else if(n==200) cout&lt;&lt;1&lt;&

热搜:二叉链表作为二叉树的存储结构,在具有n