Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Help me to do the part 2. Use the visual C#. Give me the forms screenshot and code. .'Il Sprint 5:02 PM userwww.sfsu.edu ISYS 350,

Help me to do the part 2. Use the visual C#. Give me the forms screenshot and code. image text in transcribed
.'Il Sprint 5:02 PM userwww.sfsu.edu ISYS 350, Spring 17, Assignment 3, Due Date: Wednesday, 3//17 Part 1 An Internet service provider offers four subscription packages to its customers, plus a discount for Package A: 10 hours of access for S12.95 per month. Additional hours are $4.00 per hour. Package B: 20 hours of access for $14.95 per month. Additional hours are $2.00 per hour Package C: 30 hours of access for $20 per month. Additional hours are $1.00 per hour. Package D: Unlimited access for $33.95 per month. A nonprofit organizations will get 20% discount on all packages. The user should select the package the customer has purchased from a set of radio buttons and enter the number of hours used in a textbox. A check box captioned "Nonprofit organization should appear on the form. The application should calculate and display the total amount due with a textbox. Input validation: The number of hours used in a month must contain digits only and cannot exceed 744. You must use textbox's Validating event to do the validation. Part 2: Enter correct password to view a secret picture. Add a PictureBox control to a form and use the Image property of the control to import a picture of your choice. Set the control's Visible property to false. Add a textbox for a user to enter a password and a button to submit the password. Your program should declare a class level variable named secretPassword with a password of your choice and allow a user to try at most three times to enter the correct password to view the secret picture. If the user enters a correct password your program changes the Visible property to true to show the picture. Otherwise, after three failed tries the Submit button and the textbox are disabled (the enabled property is set to false). The pseudo- code below is one way to do this problem and you may have other solution: Increase counter If correct password is entered Reveal the picture Else If counter less than 3 Display a message and ask user to try again Display a message and disable to button

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

Students also viewed these Databases questions