Код
#include
using namespace std;
int main(){
setlocale(LC_ALL, "Russian");
string s1 = "i have 12 litters", s2 = "i don't have 12 litters";
if(s1.length() > s2.length()){
cout
}
else if(s1.length() < s2.length()){
cout
}
else if(s1.length() == s2.length()){
cout
}
return 0;
}
Проверка
Первая строка короче второй.