hi
i am trying to change an input from upper case to lowercase.I am not getting it right.When i key in say Liverpool or TIGERS it only show l and t respectively.
Need assistance
#include <iostream>
#include <cctype>
#include<iostream>
using namespace std;
int main()
{
char s;
cout<<"Name your favourite soccer team in uppercase\n";
cin.get(s);
if(isupper(s))
{
s=tolower(s); //is this correct?
cout << s <<'\n';
}
else "re-type";
return(EXIT_SUCCESS);
}