(40000-4x10 ^ 4/4)&& (x || y&& z || C)回答 [英] (40000-4x10^4/4) && (x|| y && z || C) answer

查看:70
本文介绍了(40000-4x10 ^ 4/4)&& (x || y&& z || C)回答的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要知道你是否可以解决(40000-4x1064 / 4)&& (x || y&& z || c)。这应该是肯定的答案,我真的需要尽快弄清楚答案是什么。



我尝试了什么:



我实际上甚至不知道从哪里开始。

I need to know if you could solve (40000-4x1064/4) && (x|| y && z || c). It should be a yes no answer and I really need to figure out what the answer is as soon as possible.

What I have tried:

I actually don't even know where to start.

推荐答案

参见 C++运营商优先级 - cppreference.com [ ^ ]。



然后按照步骤逐步打破表达式优先级和替换固定表达式(不包含变量的表达式)。根据优先顺序首先插入括号通常也很有帮助。

如果你有例如

See C++ Operator Precedence - cppreference.com[^].

Then break the expression down step by step according to the precedence and replacing fixed expressions (those that did not contain variables). It is often also helpful to insert parentheses first according to the precedence.
If you have for example
a || b && c

它将是

it will be

a || (b && c)



因为你的问题看起来像是家庭作业,所以我不会给你最后的答案。即使它不是作业,你也应该自己去理解它是如何工作的。


Because your question looks like homework, I will not give you a final answer. Even if it is not homework, you should do it yourself to understand how it works.


这篇关于(40000-4x10 ^ 4/4)&& (x || y&& z || C)回答的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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