Start with the outcome
Before typing code, state in one sentence what success looks like. Example: "Print the largest number in a list."
Split into sub-problems
- Get input (list of numbers)
- Track the largest so far
- Loop and compare
- Print result
Edge cases
- Empty list?
- One item?
- Negative numbers?
Practice
Break it down
Problem: count how many words in a sentence start with a vowel. Write steps in plain English only — no code required.
0% complete
Practice complete!
Problem broken into steps — pseudocode is next.