Question
Write programming in LANGUAGE Visual C#(# similar in syntax to java) Problem 4: In a library, patrons receive points for books read. First three books
Write programming in LANGUAGE "Visual C#(# similar in syntax to java)
Problem 4:
In a library, patrons receive points for books read. First three books read receive 10 points each. Next three receive 15 points each. Every book after that receive 20 points each.
Form: The user enters patron name, and number of books read, and clicks a submit button, which displays the patron name, and points earned using labels.
A Clear button gets ready for the next input.
Other buttons:
Summary: Displays Total Points Awarded (across all patrons), Average Books Read per Patron. A Reset button is also provided, to get the application ready for a new series of inputs.
Example for Users Click Sequence: Submit: Submit:Summary: Reset:Submit....
Control user behavior by controlling buttons that can be clicked at any stage in the app.
Pressing Enter Submits, Pressing Esc Exits.
Use a method to compute points. Use a method to compute average books read per patron. Use a method to reset data. Use methods for form maintenance as appropriate.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started