Menu

Libraries - Spot the Bug

Each program has one mistake. Tap the line where the mistake is, then choose the change to that line that makes the program work.

Program 1 of 27
1. Ask for the side length of a square and print its area and its perimeter.
When the input is
5
it should print
Area: 25
Perimeter: 20

Step 1: tap the line where the mistake is.

Log in or sign-up to find the bugs



Don't have a login?

You can still revise this topic