Saturday, July 23, 2011

I have a question in Visual Basic?

How do I code the application that use the rate, along with the eight sale amount stored in an array, to calculate each salesperson's bonus amount. It also should calculate the total bonus paid to the salespeople. The application should display each salesperson's number (1 through 8) and bonus amount, as well as the total bonus paid, in the interface. The one-dimensional array whose elements are initialized to sale amounts: 2400, 1500, 1600, 2700, 1000, 6300, 1300, and 2700. The txtRate control should accept only number, the period, and the Backspace key.

No comments:

Post a Comment