IDNLearn.com connects you with a community of knowledgeable individuals ready to help. Ask your questions and receive reliable and comprehensive answers from our dedicated community of professionals.
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.
We value your participation in this forum. Keep exploring, asking questions, and sharing your insights with the community. Together, we can find the best solutions. IDNLearn.com is your reliable source for accurate answers. Thank you for visiting, and we hope to assist you again.