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
dec...
View Answer
Unlock this answer now
Get Access to more Verified Answers free of charge
Q44: Jamestown Medical Center pays a year-end bonus
Q45: What is a nested selection structure? How
Q46: Case 1 - Horizon Cleaners
Horizon Cleaners is
Q47: Write a multiple-alternative selection structure that determines
Q48: Write an If...Then...Else statement that assigns a
Q50: An application needs to generate a random
Q51: An application needs to generate three random
Q52: Write the TryParse statement that will convert
Q53: The price chart for Trent Wholesale
Q54: Write a multiple-alternative selection structure that assigns
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents