Question: 7 . 3 . 1 : String methods. 5 6 8 8 4 4 . 4 2 2 8 2 7 4 . qx 3
: String methods.
qxzqy
String letters is read from input. If e is in letters, then:
Output 'Found at index: followed by the index of the last occurrence.
Create a string from letters with the first two occurrences of e replaced by erased and output letters on a newline.
Otherwise, output 'Not found'.
Click here for example
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
