/*Before seeing the code solution make sure that you have tried enough. Don’t copy- paste the whole code. Find out the logic. If you face any trouble, just inform me in comment.*/
#include<stdio.h>
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;
}
//Happy_coding
#include<stdio.h>
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;
}
//Happy_coding
No comments:
Post a Comment