URI 1007


Solution of URI 1007 >>Difference

  1. #include<stdio.h>
  2.  
  3. int main()
  4. {
  5. int A, B, C, D, DIFERENCA;
  6. scanf("%d%d%d%d", &A, &B, &C, &D);
  7. DIFERENCA = ( A * B ) - ( C * D ) ;
  8. printf("DIFERENCA = %d\n", DIFERENCA);
  9.  
  10. return 0;
  11. }

Comments

Popular posts from this blog

URI 2994 Solution

URI 2996 Solution