+ 1
What improvements and features can be added in it
https://sololearn.com/compiler-playground/cB926gxh4s70/?ref=app
2 odpowiedzi
+ 2
Hi FREEZO,
I would probably recommend checking the username != "apple" and password != "knife" with an OR statement.
If you guess someone's username then you know that all you need is the password as it tells you to check it!
Some pseudocode for you:
If username is not apple or password is not knife then output "Invalid username or password, please try again."
0
Kai Harrison thank you! I value your feedback❤️