#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;
}#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;
}
Add your comment