From 7ca036d40070bf7f3c769446956c7ee211b95673 Mon Sep 17 00:00:00 2001 From: Poornapragna Mathh <54894632+poornapragna877@users.noreply.github.com> Date: Thu, 1 Oct 2020 08:59:27 +0530 Subject: [PATCH] Update 112.cxx Updated 112.cxx --- 112.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/112.cxx b/112.cxx index 5ec9520..421a2d0 100644 --- a/112.cxx +++ b/112.cxx @@ -30,13 +30,13 @@ int main() string s,t; cin >> s >> t; for(i=0; it[i]){ + s[i] = tolower(s[i]); + t[i] = tolower(t[i]); + if(s[i]>t[i]) { cout << "1"; return 0; } - else if(s[i]