Explore Westonci.ca, the top Q&A platform where your questions are answered by professionals and enthusiasts alike. Connect with a community of experts ready to provide precise solutions to your questions quickly and accurately. Get quick and reliable solutions to your questions from a community of experienced experts on our platform.

Write a program that reads one line of input as a string and writes one line of output consisting of nothing more than the number of uppercase letters in the string that are immediately followed by a lowercase letter. For example, if the input string is Chancellor Gene Block of UCLA lives in SoCal then the output must be simply 5 (for the Ch, Ge, Bl, So, and Ca; notice that the character immediately after the A of UCLA is a space character, not the l of lives). The program must not write a prompt for its input.

Sagot :

Answer:

Explanation:

start with what you know

Thank you for visiting our platform. We hope you found the answers you were looking for. Come back anytime you need more information. We appreciate your time. Please come back anytime for the latest information and answers to your questions. We're glad you visited Westonci.ca. Return anytime for updated answers from our knowledgeable team.