Posts by Ívina • 1 point
1 post
-
0
votes0
answers17
viewsQ: Doubt in syntax
I was seeing a code and saw this part with some things I didn’t understand. What does this part " > 90 ? 1 : 0 "? campo[x][y] = random(100) > 90 ? 1 : 0;
1 post
0
votes0
answers17
viewsI was seeing a code and saw this part with some things I didn’t understand. What does this part " > 90 ? 1 : 0 "? campo[x][y] = random(100) > 90 ? 1 : 0;