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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!