Alternating Characters

  • + 0 comments

    program outputs wrong answer when cin is replaced by getline(cin,s)