help me fast please anyone
Attachments:
Answers
Answered by
4
Required Answer:-
Given:
- x = 'c'.
- c = (x>='A' && x<='Z')? "Upper Case Letter" : "Lower Case Letter"
To Find:
- The value of x.
Solution:
Here,
→ x = 'c'
So,
→ x>='A' && x<='Z' is false as x is not present between the given letters.
Therefore,
→ c = (false) ? "Upper Case Letter" : "Lower Case Letter"
As the expression returns false, therefore,
→ c = "Lower Case Letter" (Answer).
Answer:
- c = "Lower Case Letter".
Similar questions