Advertisement
Rezaur_Rahman

DIU and Habibi's new craze

Mar 25th, 2020
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.18 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5.     int a,b,c,d;
  6.  
  7.     scanf("%d %d",&a,&b);
  8.     scanf("%d %d",&c,&d);
  9.  
  10.     int ans = (a*b)+(c*d);
  11.  
  12.     printf("%d\n",ans);
  13.     return 0;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement