Advertisement
Avdluna

URI 1007

May 17th, 2015
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.17 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main() {
  4.  
  5.   int a,b,c,d,x;
  6.     scanf("%d %d %d %d",&a,&b,&c,&d);
  7.     x=((a*b)-(c*d));
  8.     printf("DIFERENCA = %d\n",x);
  9.  
  10.     return 0;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement