#include <stdio.h>
int main() {
int a;
printf("Enter number a\n");
scanf("%d",&a);
int b;
printf("Enter number b\n");
scanf("%d",&b);
printf("Perimeter of rectangle: %d\n",2*(a+b));
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: