Advertisement
josiftepe

Untitled

Oct 26th, 2022
659
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.40 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <string.h>
  3. #include <ctype.h>
  4.  
  5. int main() {
  6.    
  7.     int a, b;
  8.     scanf("%d%d", &a, &b);
  9.    
  10.     printf("Zbir: %d\n", a + b);
  11.     printf("Razlika: %d\n", a - b);
  12.     printf("Proizvod: %d\n", a * b);
  13.    
  14.     if(a > b) {
  15.         printf("Pogolemiot broj e: %d\n", a);
  16.     }
  17.     else {
  18.         printf("Pogolemiot broj e %d\n", b);
  19.     }
  20.     return 0;
  21. }
  22.  
  23. /*
  24.  
  25.  */
  26.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement