- 1
What the meaning of "cout<<(1.5<1);"?
Please, can any one explain?
8 ответов
+ 1
You're most welcome
+ 1
It's just a massage to print it like
Cout<<"(1.5<1)";
Or
If it is a condition like
Cout << (1.5<1);
Then if it's a Boolean variable then it's mean that 1.5 is less then one so the condition is false and we know that for true it's print "1" and for false it print "0"
So the answer is " 0".
0
cout is used to print and inside parantheses there written a condition which is false so it will print 0
0
Ok! I see, thanks...
0
Thank you for your suggestion and I am trying my best in cppdroid...