Added chrupper

This commit is contained in:
ErrorTP 2022-12-04 09:39:23 -05:00 committed by GitHub
parent 7aff64740e
commit 26d5ffc14c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,6 +33,10 @@ int strlen(char s[]) {
while (s[i] != '\0') ++i;
return i;
}
char chrupper(char chr) {
if((chr>96) && (chr<123)) chr ^=0x20;
return chr;
}
void append(char s[], char n) {
int len = strlen(s);