I am working on a problem in with two string are taken as input and we have to see if the first char is same as first char of other string and trigger a case! so when i compare them using for or while loop one of the two goes out of limit and returns wrong result!
i tried finding many ways to solve this, but can't find a good one!
Aucun commentaire:
Enregistrer un commentaire