Повернутися

int RectanglePerimeter(int A, int B)
{
    // Perimeter = 2 * (length + width)
    return 2 * (A + B);
}