3. In a given string, there will be two uppercase letters in between some lowercase letters. Print the substring from the first uppercase letter to the last uppercase letter excluding them. If there...


3. In a given string, there will be two uppercase letters in between some lowercase<br>letters. Print the substring from the first uppercase letter to the last uppercase letter<br>excluding them. If there are no letters in between them, print the word BLANK. It<br>is guaranteed that there will be only two uppercase letters in the string.<br>Sample Input<br>baNgladEsh<br>coDIng<br>Sample Output<br>glad<br>BLANK<br>

Extracted text: 3. In a given string, there will be two uppercase letters in between some lowercase letters. Print the substring from the first uppercase letter to the last uppercase letter excluding them. If there are no letters in between them, print the word BLANK. It is guaranteed that there will be only two uppercase letters in the string. Sample Input baNgladEsh coDIng Sample Output glad BLANK

Jun 07, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here