Q
백준 2588

C code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
| #include <stdio.h>
int main(void) { int a, b;
scanf("%d %d", &a, &b);
printf("%d\n", a * (b % 10)); printf("%d\n", a * (b / 10 % 10)); printf("%d\n", a * (b / 10 / 10));
printf("%d\n", a * b);
return 0; }
|
Author:
Slay
Permalink:
http://sean-baek.github.io/2023/04/05/baekjoon-2588/
License:
Copyright (c) 2021 CC-BY-NC-4.0 LICENSE
Slogan:
Do you believe in DESTINY?