visuco
Challenge 5 of 16

A working-out function can take as many inputs as it needs. peakOf is handed where a house stands and how tall it is, and answers with the point of its roof — so each bird can perch without you measuring anything.

Give peakOf each house's height.

Your code JavaScript

Give peakOf each house's height.

0 / 30 frames · 400×400
Target
Yours
Results
0%
Press Run to check your code
Penalties: none this run

Report this challenge