02-01-2019, 10:28 AM
Flowcharts are a way of mapping out a thought process. Think of it as writing out code as a picture. You can follow the flow of the code from start to finish by following the arrows and queries. I was writing my text-based battleship program in Java and used a lot of If Statements. There was a lot that could've gone wrong so writing out what I wanted to happen as a flow chart helped me in the initial writing of the program, it also helped me discover logic errors before they were written.