(c语言)填空,使这个函数实现从键盘输入一个字符串,将其中的大写字母转换成小写字母

#include <stdio.h>
int main()
{
char s[20];
char *p;
printf("please input string:\n");
scanf("%s",s); /注意用 scanf()输入和 gets()输入的区别/
p=s;
while(*p!='\0')
{
if(*p>='A'&&*p<='Z') (1);
p++;
}
(2);
while(*p!='\0')
{
putchar((3));
(4);
}
printf("\n");
return 0;
}


(1)
*p = *p + 32;
(2)
p=s;
(3)
*p
(4)
p++