9 lines
145 B
C
9 lines
145 B
C
|
/*
|
||
|
** return upper-case of c if it is lower-case, else c
|
||
|
*/
|
||
|
char toupper(char c)
|
||
|
{
|
||
|
if(c<='z' && c>='a') return (c-32);
|
||
|
return (c);
|
||
|
}
|