You're welcome!
As for part 4, I'm not entirely certain how your program works since I'm not the one making it, and just reading it doesn't always immediately click into place, but I'm guessing...
Type: Posts; User: Bill_H
You're welcome!
As for part 4, I'm not entirely certain how your program works since I'm not the one making it, and just reading it doesn't always immediately click into place, but I'm guessing...
Ok, right here I notice that you have the program return a king at value 13, but at 13 or greater it returns not a card. Shouldn't this be greater than 13 like:
else if(faceValue==13) {
...
You have a "{" which never closes on the first if statement on line 27.
27. if(faceValue == 1) {
28. return "Ace";
29. }
30. else if(faceValue==2) {
31. return "Two"; ...