Rima is getting wrong output to Check whether a given character is upper case, lower case, number or special character, so help her understand the logic behind the code using below format.

  
Your score is:       
Copy paste the above completed code in below IDE and run