首页 > 大学本科
题目内容 (请给出正确答案)
[单选题]

已知double dd[ ][3]={{1.2,2.4,3.6}, {4.8,5.2},{6.4}}; dd[2][2]的值为()。

A.5.2

B.无法确定

C.1.2

D.0.0

查看答案
答案
收藏
如果结果不匹配,请 联系老师 获取答案
您可能会需要:
您的账号:,可能还需要:
您的账号:
发送账号密码至手机
发送
安装优题宝APP,拍照搜题省时又省心!
更多“已知double dd[ ][3]={{1.2,2.4,3.…”相关的问题
第1题
已知dat1.dat存放了一系列整型数据。 要求: 1)用dat1.dat中的前100个数据给数组int a[100]赋值,并在屏幕上输出(每行10个元素)。 2)使用函数 double isaver(int *p,int num) { } 求数组a中所有数组元素平均值。 3)把该函..

已知dat1.dat存放了一系列整型数据。 要求: 1)用dat1.dat中的前100个数据给数组int a[100]赋值,并在屏幕上输出(每行10个元素)。 2)使用函数 double isaver(int *p,int num) { } 求数组a中所有数组元素平均值。 3)把该函数放在头文件ISaver.h中以便在主函数中调用该函数。把所有小于平均值的数组元素(每行10个元素)和小于平均值的数组元素个数输出出来。(在屏幕上和数据文件d:\dat6.dat中同时输出) 题目中使用的数据文件请在附件中下载,解压后可使用。

点击查看答案
第2题
实验室用高纯水的质量要求是:DD<微西/厘米,Cu、Fe、Na<3微克/升。()
点击查看答案
第3题
写出下列程序的执行结果是【 】。 已知:a转换成整数对应的是97。 程序如下: class Te
stl { public static void main(String[] args) { char a=d; int b=a; float c=a; double d=a; System.out.println("a="+a); System.out.println("b="+b); System.out.println("c="+c); System.out.println("d="+d); } }

点击查看答案
第4题
下面程序的输出是【 】。 main() {enum em{em1=3,em2=l,em3}; char*aa[]={"AA","BB",

下面程序的输出是【 】。 main() {enum em{em1=3,em2=l,em3}; char*aa[]={"AA","BB","CC","DD"}; printf("%s%s\n",aa[eml],aa[em2],aa[em3]); }

点击查看答案
第5题
下面程序的输出走【 】。 main() {enum em {em1=3,em2=1,em3}; char*aa[]={"AA","BB"

下面程序的输出走【 】。 main() {enum em {em1=3,em2=1,em3}; char*aa[]={"AA","BB","CC","DD"}; printf("%s%s%s\n",aa[em1],aa[em2],aa[em3]); }

点击查看答案
第6题
下列程序中,函数fun的功能是:根据整型形参m的值,计算如下公式的值:t=1-1/(2×2)-1/(3×3)-…-1/(m×m

下列程序中,函数fun的功能是:根据整型形参m的值,计算如下公式的值:t=1-1/(2×2)-1/(3×3)-…-1/(m×m)请填空。

#include<conio.h>

#include<stdio.h>

double fun(int m)

{double y=1.0;int i;

for(______)

y-=1.0/(i*i);

return(y);

}

main()

{int n=5;

printf("\nThe result is%1f\n",fun(n));}

点击查看答案
第7题
Documentary credits are separate transactions from the sales contract with which they are related an
d Letter of Credit can be divided into many kinds depending on the circumstance. A documentary credit may be available by payment, by negotiation or by acceptance.(1)means that the minated bank will pay the beneficiary the full amount due once he submits the contract documents equired under the credit. Under a(2), the beneficiary is given double assurance of payment since the confirming bank has added its own undertaking to that of the opening bank. If a credit can be transferred by the original beneficiary to one or more parties, it is a(3)If a credit stipulated that its amount can be renewed without specific amendment to the credit being made, it is then a(4).(5)are those that cannot be amended or revoked without the consent of all the parties concerned.
点击查看答案
第8题
设计一个名为 Rectangle 的类表示矩形。这个类包括: (1) 两 个 名 为 width 和 height 的 double 型数据域, 它们分别表示矩形的宽和高。 width 和height 的默认值都为1。 (2) 创建默认矩形的无参构造方法。 (3) — 个 创 ..

设计一个名为 Rectangle 的类表示矩形。这个类包括: (1) 两 个 名 为 width 和 height 的 double 型数据域, 它们分别表示矩形的宽和高。 width 和height 的默认值都为1。 (2) 创建默认矩形的无参构造方法。 (3) — 个 创 建 width 和 height 为指定值的矩形的构造方法。 (4) 属性的访问器方法。 (5) toString方法,返回宽、 高、 面积和周长。 (6) 一个名为 getArea() 的方法返回这个矩形的面积。 (7) 一个名为 getPerimeter()的方法返回周长。 编写一个测试程序. 创建两个 Rectangle 对 象 ,一个矩形的宽为 5 而高为 10, 另一个矩形的宽为 7.5, 而高为 27.5。 控制台显示输出每个矩形的宽、 高、 面积和周长。

点击查看答案
第9题
下面哪一个参数表示秒()。

A.yy

B.dd

C.ss

D.mm

点击查看答案
第10题
DBMs中DD有什么作用?

点击查看答案
退出 登录/注册
发送账号至手机
密码将被重置
获取验证码
发送
温馨提示
该问题答案仅针对搜题卡用户开放,请点击购买搜题卡。
马上购买搜题卡
我已购买搜题卡, 登录账号 继续查看答案
重置密码
确认修改