I am trying to make this program work but only getting halfway, i am supposed to have an output like this:
Enter a string at least 8 chrs long: short
The string is too short.
Enter a string at least 8 chrs long: 1234567
The string is too short.
Enter a string at least 8 chrs long: something
The string has 9 chrs in it.
First three: som
Last three: ing
gnihtemos
but the code im working on looks like this, and i dont know how to get the last three char. can some one help!
short
Enter a string at least 8 chrs long: 1234567
Enter a string at least 8 chrs long: something
Enter a string at least 8 chrs long:
The string has 9 chrs in it.
First three: som
Last three: