#include <iostream>
bool shorterString(std::string &s1, std::string &s2) {
return s1.size() < s2.size();
}
int main() {
std::string s1 = "c c++";
std::string s2 = "java python";
if(shorterString(s1, s2))
std::cout << "s1 is shorter than s2";
else
std::cout << "s2 is shorter than s1";
return 0;
}
/*
run:
s1 is shorter than s2
*/