/**
 * Given a string and a character, find if the character exists in the string.
 *
 * @param string A string of characters (e.g., "Hello, world!")
 * @param character A single character to search for in the string (e.g., "o")
 * @return Boolean value indicating whether the character is found in the string or not.
 */
fun findCharacterInString(string: String, character: Char): Boolean {

    var found = false
    
    for (char in string) {
        if (char == character) {
            found = true
            break
        }
    }
    
    return found
}
/**
 * Given a string and a character, find if the character exists in the string.
 *
 * @param string A string of characters (e.g., "Hello, world!")
 * @param character A single character to search for in the string (e.g., "o")
 * @return Boolean value indicating whether the character is found in the string or not.
 */
fun findCharacterInString(string: String, character: Char): Boolean {
/**
 * Given a string and a character, find if the character exists in the string.
 *
 * @param string A string of characters (e.g., "Hello, world!")
 * @param character A single character to search for in the string (e.g., "o")
 * @return Boolean value indicating whether the character is found in the string or not.
 */
fun findCharacterInString(string: String, character: Char): Boolean {

    var found = false
    
    for (char in string) {
        if (char == character) {
            found = true
            break
        }
    }
    
    return found
}