The code: https://gist.github.com/anonymous/71d1baf86eb8354cfbfe
When I run it, I get this problem:
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
This method must return a result of type int[]
at NewBlackJack.genCards(NewBlackJack.java:25)
at NewBlackJack.main(NewBlackJack.java:21)
I can't figure out for the life of me whats wrong. I know it has something to do with returning an array, and I've done my research, but I still need help.
Thanks!