0
How can we say not greater than in c++ ?
Not greater than
4 Réponses
+ 11
The unknown 321 I'm Sorry !! I couldn't get you at that time 😓
+ 10
First of all, there isn't any valid expression for not greater than
But if you want to use 'Not Greater Than', then you can use 'Less Than Or Equal To' which is inverse to the former. So you can use '<=' for 'Not Greater Than'
Hope This Helps !!!
+ 9
You could also do:
!(a > b)
but that's 2 operations and wastes computer resources.
+ 2
Keval I didn't say there is i just said how to do it is there's a way.