Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main(void) {
- int x, y;
- printf("x="); scanf("%d", &x);
- printf("y="); scanf("%d", &y);
- if (!x) x++;
- if (!y) y++;
- if (1LL * x * y >= 0LL) {
- puts("acelasi semn");
- } else {
- puts("semne diferite");
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement