c - Lower the input that we get from user using scanf -
i new c , trying lowercase letters user using scanf.
my code:
#include <stdio.h> #include <windows.h> int main() { printf("which animal referred ship of desert? \n"); // answer "camel" scanf(" %c", &camel); printf(" %c",camel); } i tried using strlwr don't know how use , tried using like:
char camel; camel = strlwr(camel);
Comments
Post a Comment