The Middle Letter

Problem Write a program that prints the middle letter of a word (string) in lowercase letters when it is entered. However, if the length of a word is even, the middle two characters are printed. input A string is entered on the first line. The length of the string does not exceed 100. output Prints…

Read More

The Longest Word

Problem Write a program that prints the longest of N strings when inputted. input A natural number N is given in the first line (3<=N<=30). Starting from the second line, N strings are given. The length of the string does not exceed 100. Each string has a different length. output Print the longest…

Read More

Convert String Case

Problem Write a program that receives a string with both uppercase and lowercase letters as input and converts uppercase letters to lowercase letters and lowercase letters to uppercase letters. input A string is entered on the first line. The length of the string does not exceed 100. output On the…

Read More

To Uppercase

Problem Write a program that receives a string with both uppercase and lowercase letters as input and outputs the string by unifying all uppercase letters. input A string is entered on the first line. The length of the string does not exceed 100. output A unified character string with uppercase…

Read More

Find-Uppercase

Problem Write a program that takes a string as input and finds how many uppercase letters in that string. input A string is entered on the first line. The length of the string does not exceed 100. output Prints the number of uppercase letters on the first line. Solution using using code

Read More
Page 14 Of 26