Anda di halaman 1dari 1

#include<stdio.

h>
int main()
{
int l=0,b=0;
printf("Enter the length of the ground\n");
scanf("%d",&l);
printf("Enter the width of the ground\n");
scanf("%d",&b);
printf("The length of the rope needed is %dm\n",2*(l+b));
printf("The quantity of carpet needed is %dsqm",l*b);
return 0;
}

Anda mungkin juga menyukai