Write a program that allows the user to use a button to


Answer the following Question :

1. Suppose a program has a button with the caption "Quit." Suppose also that the Name property of this button is btnQuit. Write a btnQuit_Click event procedure that gives the user a second chance before ending the program. The procedure should use an input box to request that the user confirm that the program should K terminated, and then end the program only if the user responds in the affirmative

2. Write a program to handle a savings-account withdrawal. The program should request the current balance and the amount of the withdrawal as input and then display the new balance. If the withdrawal is greater than the original balance, the program should display "Withdrawal denied." If the new balance is less than $150, the message "Balance below $150, should be displayed.

3. Write a program that requests three scores as input and displays the average of the two highest scores. The input and output should be handled by Sub procedures, and the average should be determined by a user-defined function.

4. Write a program that allows the user to use a button to toggle the color of the text in a text box between black and red.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write a program that allows the user to use a button to
Reference No:- TGS02935531

Expected delivery within 24 Hours