Remove lowercase_pharse in c/isogram
This commit is contained in:
@@ -18,12 +18,6 @@ char lowercase(char* c) {
|
|||||||
return *c;
|
return *c;
|
||||||
}
|
}
|
||||||
|
|
||||||
void lowercase_phrase(char phrase[]) {
|
|
||||||
for (int i = 0; i < length(phrase); i++) {
|
|
||||||
phrase[i] = lowercase(&phrase[i]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
bool is_symbol_char(char c) {
|
bool is_symbol_char(char c) {
|
||||||
// Ignore symbols that precede alpha chars.
|
// Ignore symbols that precede alpha chars.
|
||||||
if (c < 65 || c > 122) {
|
if (c < 65 || c > 122) {
|
||||||
|
|||||||
Reference in New Issue
Block a user