问题描述:
[单选]
下面是一段C++程序代码,目的是求文明中学操场周长。已知操场长150米,宽50米。下面程序的运行结果为400米。#include<bits/stdc++.h>using namespace std;int main(){float a,b,c;a=150;b=50;c=2*a+2*b;cout<<c; return 0;}
A.对
B.错
参考答案:查看无
答案解析:无
☆收藏
答案解析:无
☆收藏
上一篇:若下面代码输出结果为12,则画线处的关系运算符为“=”。#include<bits/stdc++.h>using namespace std;int main(){int a,b;a=5;b=7;if(a+b()12)cout<<a+b;return 0;}
下一篇:下面的C++程序,代码运行结果为1.125。#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c;a=8;b=9;c=b/a;cout<<c; return 0;}
- 我要回答: 网友(216.73.216.168)
- 热门题目: 1.灭火在距离起火点大约---- 2.扑救起火最好的时间段是--- 3.发生火灾原因主要有静电起火、
