This commit is contained in:
parent
3e54fd98ef
commit
6b4373f3c0
|
@ -0,0 +1,8 @@
|
|||
#include <cstdio>
|
||||
|
||||
int main(){
|
||||
int a, b, c, d;
|
||||
scanf("%d%d%d%d", &a, &b, &c, &d);
|
||||
printf("DIFERENCA = %d\n", a * b - c * d);
|
||||
return 0;
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
#include <iostream>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
int a, b, c, d;
|
||||
cin >> a >> b >> c >> d;
|
||||
|
||||
cout << "DIFERENCA = " << a * b - c * d << endl;
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue