Computers are brilliant at maths. Use + - * / for add, take away, times and divide. Brackets work just like in school.
🎯 A garden is 6 wide and 4 tall. Make variables width and height. Print its area (width × height), then on the next line its perimeter (all four sides added up).
Output
Press Run to see what your code prints.Lesson 3 of 14 · Lesson map · Your code runs safely inside this page and is never sent anywhere.