0

How to write a code that checks if the random number is < >

4th Mar 2021, 6:39 AM
Astro ytr
Astro ytr - avatar
7 ответов
+ 2
Martin Taylor Lol, I knew it was wrong. That just shows how much I code in c++!
4th Mar 2021, 8:19 AM
ChaoticDawg
ChaoticDawg - avatar
+ 2
Martin Taylor Lol, check the #include's in the example on that doc page. That's the exact page I was looking at as a refresher when I wrote that snippet.
4th Mar 2021, 8:32 AM
ChaoticDawg
ChaoticDawg - avatar
4th Mar 2021, 8:10 AM
ChaoticDawg
ChaoticDawg - avatar
+ 1
Ipang Read it again, but say the names of the operators
4th Mar 2021, 9:53 AM
ChaoticDawg
ChaoticDawg - avatar
+ 1
ChaoticDawg But there is nothing to compare against right? less than/greater than what value?
4th Mar 2021, 9:54 AM
Ipang
+ 1
Ipang Ya, I just took it as any general values. See, code above. Lol
4th Mar 2021, 9:56 AM
ChaoticDawg
ChaoticDawg - avatar
0
I just don't get what the OP meant by "random number is < >" ROFL
4th Mar 2021, 9:51 AM
Ipang