/* Write a C program to compute the perimeter and area of a rectangle with a height of 7 inches. and width of 5 inches.*/

#include <stdio.h>

int main(void) {

    printf("This program will give the perimeter and area of a rectangle.\n");
    
    double x;
    double y;
    
    printf("Please enter the value of the x axis: ");
    scanf("%lf", &x);
    
    printf("Please enter the value of the y axis: ");
    scanf("%lf", &y);
    
    double perimeter = x + y + x + y;
    printf("The perimeter is: %lf\n", perimeter);
    
    double area = x * y;
    printf("The area is: %lf", area);

  return 0;
}