#include <stdio.h>
#include <ctype.h> //头文件
int main()
{
int i = 0;
char c;
char str[] = "RUNOOB";
while (str[i])
{
putchar(tolower(str[i]));//变为小写字母 toupper(str[i])变大写字母
i++;
}
return(0);
}
#include <stdio.h>
#include <ctype.h> //头文件
int main()
{
int i = 0;
char c;
char str[] = "RUNOOB";
while (str[i])
{
putchar(tolower(str[i]));//变为小写字母 toupper(str[i])变大写字母
i++;
}
return(0);
}