Question: 5 4 7 8 9 6 . 3 7 3 7 0 1 2 . qx 3 zqy 7 Jump to level 1 String consonants
qxzqy
Jump to level
String consonantsstring is read from input. If pp is in consonantsstring, then:
Output 'Located at index: followed by the index of the first occurrence.
Create a string from consonantsstring with the first two occurrences of pp replaced by p and output consonantsstring
on a newline.
Otherwise, output No results'.
Click here for example
tring input
Your code goes here
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
