We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ef87f1 commit 50d895cCopy full SHA for 50d895c
app/src/main/java/hexlet/code/Utils.java
@@ -0,0 +1,7 @@
1
+package hexlet.code;
2
+
3
+public class Utils {
4
+ public static int generateNumber(int min, int max) {
5
+ return (int) Math.floor(Math.random() * (max - min + 1)) + min;
6
+ }
7
+}
0 commit comments