1. Make and run a program that will accept a user input of not more than 50 characters and find set of letters that will produce the string “just do it” consecutively. The program should output the string “just do it” or “string not found” if the entered words were unable to produce the desired string.
Sample Output:
The brown fox jumps over the lazy dog
The word just do it cannot be found on the sentence you type.
2. Make and run a program that will accept not more than 30 characters and replace all the lower case letter to upper case and all the upper case letter to lower case.
Sample Output:
The brown fox jumps over the lazy dog
tHE BROWN FOX JUMPS OVER THE LAZY DOG
3. Make and run a program that will reverse the entered string without using the function strrev().
Sample Output:
Enter a word: Technology
The reverse of this word is ygolonhceT
4. Make and run a program that will accept a maximum of 40 characters and output this format to a word without a space.
Sample Output:
The brown fox jumps over the lazy dog
Thebrownfoxjumpsoverthelazydog
5. Make and run a program that will accept a maximum of 30 characters. The program should put the last letter of every word before the first letter of the word proceeding to the first word.
Sample Output:
The brown fox jumps over the lazy dog
The ebrown nfox xjumps sover rthe elazy ydog