// The following code is meant to calculate the perimeter and area of a // rectangle. // However, it has some issues that you need to fix. Good luck! // Note: You cannot change the function prototype of `calculate_rectangle` #include void calculate_rectangle(int length, int width, int *perimeter, int *area); int main(void) { int length, width; int perimeter, area; printf("Enter length of the rectangle (in cm): "); scanf("%d", &length); printf("Enter width of the rectangle (in cm): "); scanf("%d", &width); printf("Perimeter of the rectangle: %dcm\n", perimeter); printf("Area of the rectangle: %lfcm\n", area); return 0; } void calculate_rectangle(int length, int width, int *perimeter, int *area) { perimeter = 2 x (length + width); area = length x width; }