i wanna change the capital cin to lower case for the input , for example if cin>> one one=R it should be r so it convert it automatically
Try:
#include tolower(char)
For a string input, you'll have to convert character by character:
char str[]="ONE TWO\n"; char c; int i=0; while (str[i]) { c=str[i]; str[i] = (char) tolower(c); //I think it return an int, which you need to typecast to a char i++; }