Find String

Problem Write a program that receives a single string, receives a specific character, and finds out how many of that specific character exists in the inputted string. The length of the string does not exceed 100. input A string is given on the first line, and a character is given on the second line…

Read More

A to '#'

Problem Write a program that outputs an English word consisting of uppercase letters by replacing all ‘A’ in the word with ’#‘. input A string is entered in the first line. output Prints the changed word on the first line. Solution using using

Read More

7 Dwarfs

Problem A crisis came to Snow White, who was living peacefully with the seven dwarfs to escape the queen. There were nine dwarfs who returned from work instead of seven. All nine dwarfs claimed to be the protagonists of “Snow White and the Seven Dwarfs.” Snow White, who had great mathematical…

Read More

10-Day-Rotation

Problem From June 1st, the Seoul Metropolitan Government will implement the 10 car system to prevent traffic congestion. The 10 car system prohibits the operation of the car if the first digit of the car number matches the first digit of the date For example, if the day digit of the car number is…

Read More

Odd Number

Problem Given 7 natural numbers, write a program to select all odd natural numbers, find the sum, and find the smallest of the odd numbers. For example, given 7 natural numbers 12, 77, 38, 41, 53, 92, 85, the odd numbers among them are 77, 41, 53, 85, so the sum is Therefore, the minimum value…

Read More
Page 15 Of 26