Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main() {
- int length, width;
- int area;
- printf("Enter the length of a rect\n");
- scanf("%d",&length);
- printf("Enter the weight of a rect\n");
- scanf("%d",&width);
- area=length*width;;
- printf("The area is = %d\n",area);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement