Question: Create two strings, S1 and S2: allow the user to input string SI from the keyboard Print them both to the screen. Now, take EVERY

Create two strings, S1 and S2: allow the user to input string SI from the keyboard Print them both to the screen. Now, take EVERY OTHER LETTER from SI and append it to S2. Delete that Letter from S1. Display them to the screen. So, if your input: S1 = "abc def, ghi" as a string then the output would be Sl= acdfh S2= b e, gi
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
