Question #1
How to attempt?
Question
Process Two Words:
You are provided a string of words and a 2-digit number. The two digits of the number
represent the two words that are to be processed.
For example if the string is "Today is a Nice Day" and the 2-digit number is 41, then you are expected to process the 4th word (Nice") and the 1st word (Today)
The processing of each word is to be done as follows.
Extract the "Middle-to-End" part: Starting from the middle of the word extract the characters the end of the word
Extract the "Middle-to-Begin" part: Starting from the middle of the word, extract the characters till the beginning of the word
if the word to be processed is "Nice In Middle-to-End part will be "ce"
its Midde-to-Begin part will be "IN
Sa merged together these two parts would form cei
Snarty if the word to be processed in "Today
Middle-to-End part will be "day" Middie-lo-Blogin part will be "doT
Se merged together these two parts would form "daydo T
Note: Note that the middle letter of is part of both the extracted parts So for words whose
Answers
Answered by
0
Answer:
SO LONG QUESTION
Explanation:
I Can't TELL
Answered by
0
Answer:
zjzjjsjsjsjjdkekdkdkkdsjjsjejjeieiejsjje
Similar questions