Watch tutorials and explanations by expert teachers that walk through solving this problem.
Fisher Coder
thecodingworld
CodeMeThere
Persistent Programmer
Timothy H Chang
Programming Tutorials
Code With Zi
if else statement
The Game Contriver
Solve more problems to master this pattern