- 1

need help with logical expressions!!!

int x=1,y=0,z=2; what is the correct outoput for each of the following? (x>x)&&(z==1) (x+1)==z !z (z!=x)||y (y<x)&&(x<z) (z!=z)||(x>=x) (y+1)&&(x<=1)

20th Nov 2020, 3:41 PM
ضحى .
4 Respuestas
+ 5
Can you please use an appropriate tag for the programming language? Thanks! BTW, your post looks like a homework?
20th Nov 2020, 3:46 PM
Lothar
Lothar - avatar
+ 5
ضحى . Follow these steps • Go to Google • Tap the search bar • Type "how do logical operations work in C#" • Press enter That's it! 💣💥 Or Try finishing this lesson! https://www.sololearn.com/learn/CSharp/2598/?ref=app
20th Nov 2020, 4:16 PM
Simba
Simba - avatar
0
sure, yes it is homework, i am not really into programming 😓 but it required to pass my coures
20th Nov 2020, 3:53 PM
ضحى .
0
🙄
20th Nov 2020, 4:18 PM
ضحى .