THE education site for computer science and ICT
This is one way of writing the flowchart, there are other ways. However, if yours is very different to ours then double check your logic and make sure that your flowchart will work correctly