CPP_Basics_Syntax/第一讲 变量、输入输出、表达式与顺序语句/608-2.cpp

8 lines
140 B
C++
Raw Permalink Normal View History

2023-03-22 23:26:23 +08:00
#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;
}