12 lines
175 B
C++
Raw Normal View History

2023-06-07 20:14:23 +06:00
#include<bits/stdc++.h>
using namespace std;
int main()
{
2023-06-11 13:38:15 +06:00
char s1[1000],s2[1000];
2023-06-07 20:14:23 +06:00
cin>>s1>>s2;
2023-06-11 13:38:15 +06:00
strlwr(s1);
strlwr(s2);
int c=strcmp(s1,s2);
2023-06-07 20:14:23 +06:00
cout<<c;
}