Computer Science, asked by sarthaksharma1102200, 6 hours ago

Little Petya loves presents. His mum bought him two strings s1 & s2 of the same size for his birthday. The strings consist of uppercase and lowercase Latin letters. Now Petya wants to compare those two strings lexicographically. The letters' case does not matter, that is an uppercase letter is considered equivalent to the corresponding lowercase letter. Help Petya perform the comparison.
Input Copy

aaaa aaaA

Output Copy

0

Input Copy

abs Abz

Output Copy

-1

Input Copy

abcdefg AbCdEfF

Output Copy

1

Answers

Answered by ruhi620232178
0

Answer:

sorry

Explanation:

but your questions not clear much

so just try to clear ik okk

thank you❤❤

Similar questions