Each salesperson at Rembrandt Auto-Mart is assigned an ID number that consists of five characters. The first three characters are
Each salesperson at Rembrandt Auto-Mart is assigned an ID number that consists of five characters. The first three characters are numbers. The fourth character is a letter: either the letter N if the salesperson sells new cars or the letter U if the salesperson sells used cars. The fifth character is also a letter: either the letter F if the salesperson is a full-time employee or the letter P if the salesperson is a part-time employee. Create a Windows Forms application. Use the following names for the project and solution, respectively: Rembrandt Project and Rembrandt Solution. Save the application in the VB2017\Chap07 folder. Create the interface shown in Figure 7-55. Make the Calculate button the default button. The application should allow the sales manager to enter the ID and the number of cars sold for as many salespeople as needed. The btnCalc_Click procedure should display the total number of cars sold by each of the following four categories of employees: full-time employees, part-time employees, employees selling new cars, and employees selling used cars. Code the application. Save the solution and then start and test the application.
This problem has been solved!
Step by Step Answer: