问题 填空题

假如输入为30和60,下列程序运行的结果是 [7] 。 #include<iostream.h> void main() { int a, b; cin>>a>>b; if(a<b) {a=a+b;b=a-b;a=a-b; } cout<<a<<“,”<<b<<endl  }

答案

参考答案:60 30

单项选择题 A1/A2型题
单项选择题