Home / Expert Answers / Computer Science / given-string-strinput1-on-one-line-and-string-strinput2-on-a-second-line-assign-shorterstring-with-pa332

(Solved): Given string strinput1 on one line and string strinput2 on a second line, assign shorterString with ...




Given string strinput1 on one line and string strinput2 on a second line, assign shorterString with the shorter string if the
Given string strinput1 on one line and string strinput2 on a second line, assign shorterString with the shorter string if the strings are the same length, assign shorterString with "Same Length". Ex: If the input is: candles man then the output is: man


We have an Answer from Expert

View Expert Answer

Expert Answer


Code: #include #include using namespace std; int main() { string strInput1;

We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe