Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Programming Assignment 4 (Barnes and Noble Book Club Points) Barnes and Noble Booksellers has a book club that awards points to its customers based on

image text in transcribedimage text in transcribed

Programming Assignment 4 (Barnes and Noble Book Club Points) Barnes and Noble Booksellers has a book club that awards points to its customers based on the number of books purchased each month. The points are awarded as follows: If a customer purchases O books, he/she earns 0 points. * If a customer purchases 1 book, he/she earns 15 points. * If a customer purchases 2 books, he/she earns 45 points. If a customer purchases 3 books, he/she earns 90 points. If a customer purchases 4 or more books, he/she earns 180 points. Create a VB application that lets the user enter the number of books that he/she has purchased this month and displays the number of points awarded. You must use the Select Case Statement in Programming Assignment 4. Input Validation: If the user fails to enter numeric values, display an appropriate error message in a StatusStrip and do not attempt to perform calculations. You must use TryParse Method for input validation. The name of the 4rd programming assignment is BNBookClub Pts. Follow the same instructions as in the previous programming assignments to submit the 4th programming assignment. Name the folder PA4_Your Name (e.g., PA4_KSingh). The designer view should be as shown below. Book Club Points Calculator X Enter the Number of Books Purchased: Number of Points Awarded: Calculate Clear Exit

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

Databases On The Web Designing And Programming For Network Access

Authors: Patricia Ju

1st Edition

1558515100, 978-1558515109

More Books