Users Also Read
MCQ's Search Engine
Electrical Engineering
Mechanical Engineering
Civil Engineering
Automobile Engineering
Chemical Engineering
Computer Engineering
Electronics Engineering
Medical Science Engg
Assume you want to compare the character stored in the initial variable to the letter a. Which of the following conditions should you use in the if statement? (Be sure the condition will handle a or A | |
A. | (initial = 'a' or 'A') [Wrong Answer] |
B. | (initial == 'a' or 'A') [Wrong Answer] |
C. | (toupper(initial) = 'A') [Wrong Answer] |
D. | (toupper(initial) == 'A') [Correct Answer] |