✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
Suppose you want to write a sub to calculate the commission rate of a sales employee based on the sales amount. If the sales amount is greater than 10,000 Euros, the commission rate is 7%. If the sales amount is smaller than or equal to 10, 000 Euros but greater than 5,000, then the commission rate is 5%. Otherwise, the commission rate is 3%. Which of the following code blocks can be inputted in the space in below sub (where red box is) to calculate the commission rate (multiple answers can be selected)?
[Expected time to answer: 3 mins]