柠檬试题库
search
首页
计算机
公务员
驾照
关于
share
某城市共有A、B、C、D、E五个区,A区人口是全市人口的5/17,B区人口是A区人口的2/5,C区人口是D区和E区人口总数的5/8,A区比C区多3万人,全市共有多少万人?( )
A.20.4
B.30.6
C.34.5
D.44.2
热度🔥111
参考答案:D
解析:
假设全市人口为17,则A区为5,B区为2,设D、E两区总人口为x,则C区为5/8x且5/8x+x=10,解得x=80/13。设全市人口为y,得y/17=3/(5-5/8x),解得y=44.2,故选D。
复制题目向AI提问
content_copy
content_copy
扫码免费计算机二级刷题
2025年计算机等级考试题库
推荐
下列叙述中正确的是
有以下程序 #include int fun( char s[]) { int n=0; while(*s ='0') { n=10*n+*s-'0' ; s++; } return (n); } main() { char s[10]={ '6', '1', '*', '4', '*', '9', '*', '0', '*'}; printf("%d\n",fun(s)); } 程序的运行结果是
有以下程序 #include main() { double x=2.0, y; if( x<0.0 ) y=0.0; else if( (x<5.0) && (!x) ) y=1.0 / ( x+2.0 ); else if( x<10.0 ) y=1.0 / x; else y=10.0; printf(" %f\n ", y ); } 程序运行后的输出结果是