Question: In java eclipse Getting a single-occupancy room in a dormitory is very tough because of the high demand. There is one especially large and comfortable

 In java eclipse Getting a single-occupancy room in a dormitory is

In java eclipse

Getting a single-occupancy room in a dormitory is very tough because of the high demand. There is one especially large and comfortable single occupancy room in your dorm that everybody covets. The housing office runs a lottery at the peginning of a quarter. Students must submit their entries before the lottery. The result of the lottery will consist of three cards. The numbers on the cards range from 10 to 15 and the color of the card can be red, green, or black. Write a program to create winning combination of lottery card. Use two classes LotteryCard and RoomWinner. RoomWinner will be the driver class. Your output will be similar to the following: Winning Card Combination: 1-red; 2- green; 3-black

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!