6. Write fraction as a decimal number (use a calculator):
Questions
6. Write frаctiоn аs а decimal number (use a calculatоr):
Pleаse reаd the entire questiоn cаrefully. Yоu will be implementing a versiоn of the cards game based on UML diagram below. Please take the time to read and understand the UML diagram along with the instructions carefully. You will be implementing the fields and methods from the UML diagram but in addition to that feel free to add other fields/methods as needed. Instructions When the program first runs, the following menu will display: If the user enters anything other than 1, 2 or 0, you will output "Invalid input!" and re-display the menu from #1 above. If the user enters 1, then you will draw a new hand of cards and display "A new hand drawn.". One hand should consist of five unique cards. The cards do not have to be unique across hands. Once a hand is drawn, you will re-display the menu from #1: If the user enters 2, you will display all of the hands drawn as follows (In my example, I drew 4 hands): Once you display the hands, you will re-display the menu from #1 above. If the user enters 0, then you can quit the application. Testing You should test your entire application to make sure that it follows the rules from the Instructions section above. Please read the entire instruction carefully to ensure that you cover all of the requirements. Submission Place all of the files (only the files with .java extension) needed to run this program in a single zip file. Do not include any other files or folder. I will deduct 5 points if there are any unnecessary files or folders. The zip file must be named in the format lastname_firstname_midterm.zip. For example using my name it would be shrestha_gaurav_midterm.zip