- 3
Can I write multiple expressions || together? What is the output for this code?
5 Respuestas
+ 1
The output will be "the values are true"
+ 1
Can you give one example for what you are saying?
+ 1
int x = 1;
int y = 15;
int z = 20;
if (x>y || y>z || z>x)
console.writeLine ("the values are true");
else
console.writeLine ("the values are false");
0
Question is not clear. You can always see for yourself in the playground
0
Change your print statement into
Console.WriteLine();