#include <stdio.h>
int calculateArea(int length, int width)
{
return length * width;
}
int main()
{
int length, width, area;
scanf ("%d", &length);
scanf ("%d", &width);
area = calculateArea (length, width);
printf ("Area: %d\n", area);
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: