Syncfusion Interview Question

Write a program to find the perimeter of a rectangle.