Advertisement
Josif_tepe

Untitled

Feb 28th, 2024
737
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.30 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main() {
  4.     int a, b;
  5.     scanf("%d%d", &a, &b);
  6.     int zbir = a + b;
  7.  
  8.     if(zbir < 5) {
  9.         printf("POMAL OD 5\n");
  10.     }
  11.     if(zbir == 5) {
  12.         printf("EDNAKOV NA 5\n");
  13.     }
  14.     if(zbir > 5) {
  15.         printf("POGOLEM OD 5\n");
  16.     }
  17.     return 0;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement