A flowchart is a way of showing the logic of a program (or algorithm) graphically, in two dimensions. The only things in a flowchart that we are concerned with at this time are four symbols:
If I want to read a value, find its square and print the square, my flowchart would be:
Your assignment in the lab is:
sum = 2 + 4 + 6 average = sum / 3 print("The average is ", average)