Here is the solution to URI problem ID: 1007
#include<stdio.h>
#include<math.h>
int main()
{
int A,B,C,D,DIFERENCA;
scanf("%d %d %d %d",&A,&B,&C,&D);
DIFERENCA=((A*B)-(C*D));
printf("DIFERENCA = %d\n",DIFERENCA);
return 0;
}
#include<math.h>
int main()
{
int A,B,C,D,DIFERENCA;
scanf("%d %d %d %d",&A,&B,&C,&D);
DIFERENCA=((A*B)-(C*D));
printf("DIFERENCA = %d\n",DIFERENCA);
return 0;
}
Comments
Post a Comment