Why can hundreds of teams build one phone without ever talking to each other — and what does that black-box trick have to do with writing code?
Short drills on what this video just taught. Write the code, run the checks, and reveal the answer only if you are stuck.
The simplest black box takes some inputs and hands back an output. Here the inputs are a rectangle's width and height. Compute the rectangle's area and assign it to area.