- 1
Hello, everyone! I need your help because I do not know how to fix if else statements.
https://code.sololearn.com/cOgHc8xrcOgc/?ref=app I would like to print if else statements. If there is such a phone number in the directory which I looking for than print phone number, name and address. Else if there are more than one numbers which are equal, than print Statement 2, else if there is no such number than print Statement 3.
2 Respuestas
+ 2
Unfortunately, I can't understand your code. Some things that can help:
1. Use descriptive names for variables, methods, etc. It's hard to follow the logic when we don't have an idea of what the names mean.
2. Describe your logic.
There may be other things, but they depend on what the code should do.
- 1
Does really nobody know how to write these if statements?