Accepted solution

URI 1007 solution

Open original problem
Source code

#include <stdio.h>

int main()

 {

       int A,B,C,D;

      int m,n,DIFERENCA;

      scanf("%d %d %d %d",&A,&B,&C,&D);

      m=A*B;

      n=C*D;

      DIFERENCA=m-n;

      printf("DIFERENCA = %d
",DIFERENCA);

   

      return 0;

}
Join the discussion

Add your comment