Essay
Ocean Resorts,Inc.pays a commission to employees based on an employee's sales and the number of years the employee has been with the company.Employee sales is stored in the decSales variable,and the number of years employed is stored in the intYears variable.The application should calculate the commission for an employee.The commission is 6% for sales of at least $100,000.If an employee's sales total is less than $100,000,the employee will receive a 3% commission if he or she has been with the company for two years or more.Otherwise,the employee does not receive a commission.Assign the commission to the decCommission variable.Write an If...Then...Else statement for the nested selection structure.
Correct Answer:

Verified
If decSales >= 100000 Then
dec...View Answer
Unlock this answer now
Get Access to more Verified Answers free of charge
Correct Answer:
Verified
dec...
View Answer
Unlock this answer now
Get Access to more Verified Answers free of charge
Q15: A meat packer grades meat "P" for
Q16: <img src="https://d2lvgg3v3hfg70.cloudfront.net/TB6959/.jpg" alt=" -If the intQuantity
Q17: Reversing the primary and secondary logical decisions
Q18: An unnecessary selection structure within a nested
Q19: Case 1 - Horizon Cleaners<br>Horizon Cleaners is
Q21: The price chart for Trent Wholesale
Q22: What is a nested selection structure? How
Q23: Jamestown Medical Center pays a year-end bonus
Q24: When the programmer wants to allow the
Q25: Logic errors in selection structures are a