Hello, what is the problem in my code ?
Doubt in my code
Why we are not checking for digit = 0 condition ?
please reply !!!
@yashsharma4304 it is not needed.
because you are limiting one result if you are applying that case.
lets think in the another way why do you think we should add that condition?
string table[] = { " ", “.+@$”, “abc”, “def”, “ghi”, “jkl” , “mno”, “pqrs” , “tuv”, “wxyz” };
We are given with this list of strings and at the 0th index a null string is present so I want to skip that therefore I was using that condition.
But why we have skipped in this case
Ok so if I don’t use those conditions then it would be a better choice because there is no such need to skip those elements as they are already null.
Right ???