Advertisement
Josif_tepe

Untitled

Nov 12th, 2022
833
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.27 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main() {
  5.    
  6.     int x;
  7.     int y;
  8.    
  9.     scanf("%d", &x);
  10.     scanf("%d", &y);
  11.    
  12.     int zbir = x + y;
  13.     int razlika = x - y;
  14.     printf("%d\n", zbir);
  15.     printf("%d\n", razlika);
  16.    
  17.    
  18.     return 0;
  19. }
  20.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement