Question: 8. Write an IfThenElse statement that displays the string Cat in the lblAnimal control when the strAnimal variable contains the letter C (in any case);

8. Write an If…Then…Else statement that displays the string “Cat” in the lblAnimal control when the strAnimal variable contains the letter “C” (in any case); otherwise, display the string “Dog”. Also draw the flowchart.

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