• [deleted]
    + 1 comment

    Please note that second if statement should replace by else if statement cause of same character at a time does not need double check!