Question 15 Convert Following Elserstatement Select Case Statement Intsales0 Intsales 100 Q30193016

Using Visual Basic IDE

QUESTION 15 Convert the following if Then Elserstatement into a Select Case statement: If intSales0 And intSales<99 Then decDiscount-0.1 ElseIf intSales > = 100 And intSales <-199 Then decDiscount 0.2 ElseIf intSales > =200 And intSales <-299 Then decDiscount = 0.3 Elself intSales> 300 Then decDiscount-0.4 Else MessageBox.Show(Invalid Data) End If

QUESTION 15 Convert the following if Then Elserstatement into a Select Case statement: If intSales0 And intSales = 100 And intSales =200 And intSales 300 Then decDiscount-0.4 Else MessageBox.Show(“Invalid Data”) End If Show transcribed image text

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published.