From bede1a87ef259bbb063f669cf6031e9518bb2b81 Mon Sep 17 00:00:00 2001 From: ShazidMahsrafi Date: Wed, 7 Jun 2023 20:14:23 +0600 Subject: [PATCH] initial commit --- 112A-PetyaAndStrings/112A.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 112A-PetyaAndStrings/112A.cpp diff --git a/112A-PetyaAndStrings/112A.cpp b/112A-PetyaAndStrings/112A.cpp new file mode 100644 index 0000000..b76dfbd --- /dev/null +++ b/112A-PetyaAndStrings/112A.cpp @@ -0,0 +1,12 @@ +#include +using namespace std; + +int main() +{ + string s1,s2; + cin>>s1>>s2; + transform(s1.begin(),s1.end(),s1.begin(),::tolower); + transform(s2.begin(),s2.end(),s2.begin(),::tolower); + int c=s1.compare(s2); + cout<