Visual Basic, Visual Studio. A gym equipment company has rank 1 and rank 2 sales forces. The company would like to encourage the salespersons to do more sales and provide a bonus program based on the actual sales amount listed below. Please create a program to calculate the bonus earned based on the ranks and the bonus percentages listed below. The manager enters sales amount and the “Calculate” button will calculate the Bonus the salesperson can earn. Rank 1 Total Sales Amount < $10,000 No Bonus Total Sales Amount $10,000-$49,999 Bonus 2% Total Sales Amount $50,000-$99,999 Bonus 3% Total Sales Amount $100,000-$149,999 Bonus 4% Total Sales Amount >= $150,000 Bonus 5% Rank 2 Total Sales Amount < $10,000 No Bonus Total Sales Amount $10,000-$49,999 Bonus 1% Total Sales Amount $50,000-$99,999 Bonus 2% Total Sales Amount $100,000-$149,999 Bonus 3% Total Sales Amount >= $150,000 Bonus 4% There are a couple of requirements for this program. You will have to use Pass by Value and Pass by Reference correctly in the program. You have to use AndAlso in the program Your program display will need to show currency “$” in the textbox and the label as shown in the interface above. Below are three sample runs.
Visual Basic, Visual Studio.
A gym equipment company has rank 1 and rank 2 sales forces. The company would like to encourage the salespersons to do more sales and provide a bonus program based on the actual sales amount listed below.
Please create a program to calculate the bonus earned based on the ranks and the bonus percentages listed below.
The manager enters sales amount and the “Calculate” button will calculate the Bonus the salesperson can earn.
Rank 1
Total Sales Amount < $10,000 No Bonus
Total Sales Amount $10,000-$49,999 Bonus 2%
Total Sales Amount $50,000-$99,999 Bonus 3%
Total Sales Amount $100,000-$149,999 Bonus 4%
Total Sales Amount >= $150,000 Bonus 5%
Rank 2
Total Sales Amount < $10,000 No Bonus
Total Sales Amount $10,000-$49,999 Bonus 1%
Total Sales Amount $50,000-$99,999 Bonus 2%
Total Sales Amount $100,000-$149,999 Bonus 3%
Total Sales Amount >= $150,000 Bonus 4%
There are a couple of requirements for this program.
- You will have to use Pass by Value and Pass by Reference correctly in the program.
- You have to use AndAlso in the program
- Your program display will need to show currency “$” in the textbox and the label as shown in the interface above.
Below are three sample runs.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 4 images