This commit is contained in:
flykhan 2023-03-22 23:26:23 +08:00
parent 3e54fd98ef
commit 6b4373f3c0
2 changed files with 19 additions and 0 deletions

View File

@ -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;
}

View File

@ -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;
}