qfedu-c-level/day7/d18.c

17 lines
256 B
C
Raw Normal View History

2023-07-11 19:52:53 +08:00
#include <stdio.h>
#define DEBUG 0
// #define DEBUG 1
int main(int argc, char const *argv[])
{
int a, b;
scanf("%d,%d", &a, &b);
#if DEBUG
printf("%d*%d=%d\n", a, b, a * b);
#else
printf("%d+%d=%d\n", a, b, a + b);
#endif
return 0;
}