If you were planning how to write a program, at what point would a flowchart be helpful? At what point would pseudocode be helpful? Explain your reasoning.

A flowchart would be helpful at the initial planning stages of writing a program, as it visually represents the sequence of steps and logical flow of the program. Flowcharts can help with brainstorming and organizing ideas before diving into writing actual code. It can also be helpful when collaborating with a team, as it provides a high-level overview of the program's structure.

Pseudocode would be helpful after the initial planning phase, once the overall structure and logic of the program have been decided. Pseudocode is a high-level description of the algorithm or logic of the program, without being tied to any specific programming language syntax. It helps in breaking down the steps of the program into smaller, more manageable tasks, making it easier to transition into actual coding. Pseudocode also helps in communicating the program's logic to stakeholders and other team members without getting bogged down in the specifics of a particular programming language.