摘要: If and find: (i) A + B (ii) A - B (iii) -2A MULTIPLICATION OF MATRICES: If and , then eg. and then Matrices do not need to be the same size to be able to multiply. If the first matrix is an m x p and the second matrix is p x n then the product will be a m x n matrix. Note the number of columns in the first matrix must equal to the number of rows in the second matrix. Exercise 2:
网址:http://m.1010jiajiao.com/timu_id_2504152[举报]
根据下面程序,画出程序框图,并说出表示了什么样的算法.
?Input “请输入a,b,c”;a,b,c
IF ab AND a>c THEN print “最大数”;a
ELSE IF b>c print “最大数为”;b
ELSE print “最大数为”;c
End IF
End IF
End
INPUT x
IF 9<x AND x<100 THEN
a=x\10
b=x MOD 10
x=10*b+a
PRINT x
END IF
END
(注:“\”是x除以10商的整数部分,“MOD”是x除以10的余数)
上述程序输出x的含义是 。
查看习题详情和答案>>
根据下面程序,画出程序框图,并说出表示了什么样的算法.
Input “请输入a,b,c”;a,b,c
IF a>b AND a>c THEN print “最大数”;a
ELSE IF b>c print “最大数为”;b
ELSE print “最大数为”;c
End IF
End IF
End
查看习题详情和答案>>