给定问题的代码 [英] Code for a given problem

查看:78
本文介绍了给定问题的代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


有人能帮我用C语言编写该程序的代码吗?
问题是:

A = [4 + 3-2 * 3 + 3/2(1 + 2 *(2 + 3)/(5-4 * 5)-3)4 * 5 * 2/(19 + 3); 2.1 + 3.2 2.6-6/4.1 3.2 + 1.5; 2 4 5]
B = [1 2 5; 5 2 2.1; 3 4 1]
C = A + B
D = A * B
E = C/D
E的计算值为:
E =
-1.31880452530554940000 1.16164216570094900000 -0.88462041187226370000
-1.24454812860185360000 0.86719235946699669000 -0.49042926724602698000
0.43587564669195888000 -0.13794804151976536000 0.29201684531801819000

Hi,
Would anyone please help me in making the code of this program using C language?
The problem is:

A = [4+3-2*3+3/2 (1+2*(2+3)/(5-4*5)-3) 4*5*2/(19+3); 2.1+3.2 2.6-6/4.1 3.2+1.5; 2 4 5]
B = [1 2 5; 5 2 2.1; 3 4 1]
C = A+B
D = A*B
E = C/D
The Calculated Value for E is:
E=
-1.31880452530554940000 1.16164216570094900000 -0.88462041187226370000
-1.24454812860185360000 0.86719235946699669000 -0.49042926724602698000
0.43587564669195888000 -0.13794804151976536000 0.29201684531801819000

推荐答案

我只是在您的帖子中找到了计算方法.怎么办只需先创建变量(对于帖子中的A,B,C,D,E),然后通过 Scanf()函数&输入值. ;进行计算,然后使用 Printf()函数显示结果.就是全部
I just found only calculations in your post. What''s the operation? Simply Create variables first(for A,B,C,D,E in your post), input the values by Scanf() function & do calculations then display the result using Printf() function. That''s all


这只是计算.
您只需创建结果并进行计算并显示结果.
it is just calculation.
u simply create result and do calculation and display result.


这篇关于给定问题的代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆