Advertisement
Josif_tepe

Untitled

Nov 12th, 2022
805
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.22 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.     printf("%d\n", x + y);
  13.     printf("%d\n", x - y);
  14.    
  15.    
  16.     return 0;
  17. }
  18.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement