please help in java
Monty Hall was a television game show host years ago. Thecontestant would have 3 doors to choose from. There was always aprize behind one door and goats behind the other two doors. Thecontestant would choose a door.
Monty Hall would then open a door following these rules:Not a door the contestant chose and not the winning door. MontyALWAYS showed a goat. He’d then ask the contestant if they wantedto change doors. After the contestant made their final choice,Monty Hall would open the chosen door.
Program Requirements:
Your job here is to simulate this. Make it automatic. Randomlychoose the winning door.
OR
OR