URI Online Judge Solution| 1007 Difference

Problem:
https://www.urionlinejudge.com.br/judge/en/problems/view/1007

Solution:

#include<stdio.h>
int main()
{
int a,b,c,d,difference;
scanf("%d %d %d %d",&a,&b,&c,&d);
difference=((a*b)-(c*d));
printf("DIFERENCA = %d\n",difference);
return 0;
}
It would be a great help, if you support by sharing :)
Author: zakilive

Leave a Reply

Your email address will not be published.