exercism

Exercism solutions.
Log | Files | Refs

commit fe464969b899cb033a5899346ccfd1a3ba87d0ed
parent 759b3580354c7f7140afd432a5ae67e66a2efac1
Author: dwrz <dwrz@dwrz.net>
Date:   Tue, 26 Feb 2019 13:22:43 +0000

Remove length function from c/isograrm

Diffstat:
Mc/isogram/src/isogram.c | 6------
1 file changed, 0 insertions(+), 6 deletions(-)

diff --git a/c/isogram/src/isogram.c b/c/isogram/src/isogram.c @@ -1,12 +1,6 @@ #include <stdbool.h> #include <stdio.h> -int length(const char string[]) { - int i = 0; - while (string[i] != '\0') { i++; } - return i; -} - char lowercase(char c) { // Lowercase only ASCII uppercase chars. if (c >= 65 && c <= 90) { return c + 32; }