Computer Science, asked by vb054637, 8 months ago


A student was asked to write a program for computing the area of a rectangle and he mistakenly wrote the
to compute the perimeter of a rectangle What kind of error is this?

Answers

Answered by Anonymous
0

Answer:

A perimeter is a path that surrounds a two-dimensional shape. The word comes from the Greek peri (around) and meter (measure). The perimeter can be used to calculate the length of fence required to surround a yard or garden. For rectangles or kites which have only two different side lengths, say x and y, the perimeter is equal to 2x + 2y

Explanation:

Answered by nafeess2019
0

It is a Logical error.

Mark me the brainliest

Similar questions