Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main(void) {
- int a, b;
- scanf("%d%d", &a, &b);
- int tmp = a;
- a = a * b;
- if(tmp > b) {
- b = tmp - b;
- }
- printf("%d %d\n", a, b);
- printf("%d", a / b);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment