Commit Graph

9 Commits

Author SHA1 Message Date
Ulisses Lima
d692ae68e2 BAEL-5678 - Creating Random Numbers With No Duplicates in Java (#12698)
* BAEL-5678 - Creating Random Numbers With No Duplicates in Java

Ready for review.

* BAEL-5678 - review

* using `isEmpty()` for `hasNext()`;
* using `assertEquals` instead of `assertTrue`;
2022-10-26 08:44:35 +02:00
Kai Yuan
ff19b0e057 Positive or negative (#12706)
* Check if a number is positive or negative in Java

* reformat single line if/else statements

* Check if a number is positive or negative in Java

* [positiveOrNegative] using compareTo() instead of == to compare float numbers

* [positiveOrNegative] re-org imports
2022-09-10 10:06:11 -05:00
Kai Yuan
155567b9df Make Division of Two Integers Result in a Float (#12658) 2022-08-29 19:08:50 -05:00
Kai Yuan
b6cf7e78b4 List all factors of a number in Java (#12646)
* List all factors of a number in Java

* format the map code in the test
2022-08-26 20:26:38 -05:00
Kai Yuan
5405306118 Armstrong Number in Java (#12637) 2022-08-24 20:40:26 -05:00
Kai Yuan
c56d1dc83d Check if a number is positive or negative in Java (#12604)
* Check if a number is positive or negative in Java

* reformat single line if/else statements

* Check if a number is positive or negative in Java
2022-08-20 21:46:14 -05:00
Matei Cernăianu
ee96978ceb BAEL-5651: How to check if an integer is in a given range? (#12470)
* BAEL-5651: How to check if an integer is in a given range?

* BAEL-5651: How to check if an integer is in a given range?
2022-07-30 19:18:52 -04:00
tudor.marc
b33aa44aac BAEL-5560 - quick fix for negative numbers 2022-06-30 10:24:43 +03:00
sampadawagde
0f2bfac43f JAVA-12730: Rename java-numbers-5 to core-java-numbers-5 2022-06-26 16:25:18 +05:30