I need to prompt the user to enter two strings and then create a third string with the first half of string1 and the second half of string2. I was able to put the first half of string1 into string3 but I cannot figure out how to put the second half of string2 into string 3. Here's my code:
First half of string 1 would be: This is the
Second half of string 2 would be: ul things up takes a computer
It would display as: "This it the ul things up takes a computer"
How do you figure this?
What did you do to arrive at "This is the" and "ul things up takes a computer"?
Put that into code...
How long is a sentence? How can you figure that out in code?
What's half a sentence?
'Tis simplicity itself when you stop thinking in terms of the end product, and think in terms of one step at a time.
Remember, a journey of a thousand miles begins with a single step. Then another. And another. Until you drop 10 feet before the gate in exhaustion. No wait -- that's not how it goes. :icon_wink: