Bladeren bron
Merge pull request #1023 from sjwarner-bp/nth-prime-starter
nth-prime: add starter implementation
FridaTveit
8 jaren geleden
bovenliggende
commit
bf98937daf
Geen account gekoppeld aan de committers e-mail
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+class PrimeCalculator {
|
|
|
2
|
+
|
|
|
3
|
+ int nth(int nth) {
|
|
|
4
|
+ throw new UnsupportedOperationException("Delete this statement and write your own implementation.");
|
|
|
5
|
+ }
|
|
|
6
|
+
|
|
|
7
|
+}
|