Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a program to play Three Button Monte. Your program should draw three buttons labeled Door 1' Door 2' and Door 3

Write a program to play "Three Button Monte." Your program should draw

three buttons labeled "Door 1' " " Door 2' " and "Door 3" in a window and

randomly select one of the buttons (without telling the user which one

is selected) . The program then prompts the user to click on one of the

buttons. A click on the special button is a win, and a click on one of the

other two is a loss. You should tell the user whether they won or lost, and

in the case of a loss, which was the correct button. Your program should be

entirely graphical; that is, all prompts and messages should be displayed

in the graphics window.

Chapter 10, Programming Exercises #3, pg 359. Draw a mock-up of the GUI--a hand-drawn picture is fine. Write the pseudocode for this program and submit that as part of your answer. Do not write Python code for this.

How would you modify the Button class in the chapter to create oval buttons instead of square buttons? Just state what you would change, do not submit source code.

the Program is python

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning VB 2008 Databases

Authors: Vidya Vrat Agarwal, James Huddleston

1st Edition

1590599470, 978-1590599471

More Books

Students also viewed these Databases questions

Question

How could any of these verbal elements be made stronger?

Answered: 1 week ago