using javascript i have taken input from user and if the character is in uppercase it will print in lower and if it is in lower it will print in upper case.