Question: 1. Write an If...Then...Else statement that displays the string Columbia in the IblCapital control when the txtState control contains the string SC (in any case).

 1. Write an If...Then...Else statement that displays the string "Columbia" in

1. Write an If...Then...Else statement that displays the string "Columbia" in the IblCapital control when the txtState control contains the string "SC" (in any case). 2. Write an If...Then...Else statement that displays the siring "Please enter ZIP code" in the lblMsg control when the txtZip control does not contain any data. 3. Write an If...Then...Else statement that displays the string "Incorrect quantity" in the lblMsg control when the intQuantity variable contains a number that is less than 0; otherwise, display the string 'Valid quantity". 4. Write an If...Then...Else statement that displays the string "Time to reorder" in the lblMsg control when the i ntlnStock variable contains a number that is less than 250; otherwise, display the string "We have enough in stock". 5. Write an If...Then...Else statement that assigns the number 35 to the intCommission variable when the decSales variable contains a number that is less than or equal to $250; otherwise, assign the number 50. 1. Write an If...Then...Else statement that displays the string "Columbia" in the IblCapital control when the txtState control contains the string "SC" (in any case). 2. Write an If...Then...Else statement that displays the siring "Please enter ZIP code" in the lblMsg control when the txtZip control does not contain any data. 3. Write an If...Then...Else statement that displays the string "Incorrect quantity" in the lblMsg control when the intQuantity variable contains a number that is less than 0; otherwise, display the string 'Valid quantity". 4. Write an If...Then...Else statement that displays the string "Time to reorder" in the lblMsg control when the i ntlnStock variable contains a number that is less than 250; otherwise, display the string "We have enough in stock". 5. Write an If...Then...Else statement that assigns the number 35 to the intCommission variable when the decSales variable contains a number that is less than or equal to $250; otherwise, assign the number 50

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 Databases Questions!