@@ -0,0 +1,702 @@
+import java.util.Random;%0A%0Apublic class Problem7a %7B%0A%09%0A%09static Random random = new Random();%0A%09%0A%09public static void main(String%5B%5D args) %7B%0A%09%09%0A%09%09int HandValue = 0;%0A%09%09%0A%09%09while (HandValue %3C 16)%7B%0A%09%09%09%0A%09%09%09int e = + random.nextInt(10);%0A%09%09%09%0A%09%09%09while (e == 0)%7B%0A%09%09%09%09e = random.nextInt(10);%0A%09%09%09%7D%0A%09%09%09%0A%09%09%09HandValue = HandValue + e;%0A%09%09%09System.out.println(%22Card drawn: %22 + e);%0A%09%09%09System.out.println(%22The total value of your hand is: %22 + HandValue);%0A%09%09%09%7D%0A%09%09if (HandValue %3E 21)%7B%0A%09%09%09System.out.println(%22%22);%0A%09%09%09System.out.println(%22Bust! The final value of your hand is: %22 + HandValue);%0A%09%09%7D%0A%09%09else%7B%0A%09%09%09System.out.println(%22%22);%0A%09%09%09System.out.println(%22You might've won! The final value of your hand is: %22 + HandValue);%0A%09%09%7D%0A%09%7D%0A%0A%7D%0A

Create Problem7.java