Question: Q 3 . Consider the following function 5 Points Public Function Discount ( quantity As Integer ) As Single If ( quantity 1 0 )

Q3.
Consider the following function
5 Points
Public Function Discount(quantity As Integer) As Single If (quantity 10) Then
Discount =0
Else
If (quantity 20) Then
Discount =0.1
Else
Discount =0.2
End If
End If
End Function
Suppose you enter =Discount(17) in cell B1. What will be the result in B1?
Q 3 . Consider the following function 5 Points

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!