Open the VB2015Chap05Canton SolutionCanton Solution (Canton Solution.sln) file. Canton Ltd. sells economic development software to cities around
Question:
Open the VB2015\Chap05\Canton Solution\Canton Solution (Canton Solution.sln) file. Canton Ltd. sells economic development software to cities around the country. The company is having its annual users’ forum next month. The price per person depends on the number of people a user registers. The first 5 people a user registers are charged $90 per person. Registrants 6 through 11 are charged $70 per person. Registrants 12 through 20 are charged $60 per person. Registrants over 20 are charged $40 per person. For example, if a user registers 13 people, then the total amount owed is $990. The $990 is calculated by first multiplying 5 by 90, giving 450. You then multiply 6 by 70, giving 420. Then, you multiply 2 by 60, giving 120. Finally, you add together the numbers 450, 420, and 120, giving 990. Display the total amount owed in the lblTotal control. Use the Select Case statement to complete the Calculate button’s Click event procedure. Test the application appropriately.
Step by Step Answer: