Advertisement
Guest User

Untitled

a guest
Jan 28th, 2020
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. #include<stdio.h>
  2. int main() {
  3.  
  4. int length, width;
  5. int area;
  6.  
  7. printf("Enter the length of a rect\n");
  8. scanf("%d",&length);
  9. printf("Enter the weight of a rect\n");
  10. scanf("%d",&width);
  11. area=length*width;;
  12. printf("The area is = %d\n",area);
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement