Dice games are popular on the planet Foggy Multidimensions. The rules are different than the Earth version: Multidimensionals perceive far more dimensions than primitive three-dimensional earthlings. Their die has 4294967295 faces. Players win only if they roll a number between 50 and 100. We'll write a method that checks whether the die roll is in this range.
Come on, lucky seven!
- 4
Locked
Comments (8)
- Popular
- New
- Old
You must be signed in to leave a comment
Lunita
5 February, 00:38
This was quite easy... Loved it!
0
Jaime Padilla
13 April 2021, 21:06
Look up the & operator. Hope this helps
+3
Kent Hervey Software Engineer/Consult at Zeal IT ConsultantsExpert
7 October 2019, 04:32
Roman, or Alex,
Does the system not allow for ternary operator? Seems not?
+2
Roman
7 October 2019, 06:38
Give me your code (with ternary operator) in direct message, I'll check it.
+1
Aakarsh
11 September 2019, 08:05
+1
Syed Huzaifa
27 April 2020, 21:26
+2
Varma7590
19 September 2018, 16:31
What's wrong with my code ??? Can anyone help me ???
+1
Roman
20 September 2018, 05:25
If you need help, something isn't right in your code, the server won't accept your solution (even if you are 100% sure that it is correct). Describe your question/issue in the HELP section at codegym.cc/help.
0