Homework Assignment #6. Assigned NOV 14, due NOV 20 11:59pm

Use the random number generator in a Java program to simulate the dealing of N cards to a player, where N is generated by (int)(4*Math.random() + 1), i.e., it varies from 1 to 4. The assignment will focus on the use of Math.random(), for loops and switch statements.

Example run when N is 4:

 
         Card #1         Card #2         Card #3        Card #4
         five            Ace             King           ten
         of              of              of             of
         Diamond         Club            Spade          Diamond

Example run when N is 2:


         Card #1         Card #2  
         two             Jack
         of              of             
         Spade           Diamond        

REQUIREMENTS: