Question: 7. 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);
7. 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
Get step-by-step solutions from verified subject matter experts
