My issue
Write a program for the following problem
Let’s consider a rectangle of sides 11 and 13.Output the following on separate linesArea of the rectanglePerimeter of the rectangle
My code
#include <stdio.h>
int main(void) {
int width=11;
int height=13;
printf("Area of the rectangle=%d",area);
printf("perimeter of rectangle =%d",perimeter);
return 0;
}
Learning course: Learn C
Problem Link: CodeChef: Practical coding for everyone