Advertisement
Josif_tepe

Untitled

Sep 19th, 2024
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.35 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main() {
  4.     int a, b;
  5.     scanf("%d", &a);
  6.     scanf("%d", &b);
  7.    
  8.     int zbir = a + b;
  9.    
  10.     printf("%d\n", zbir);
  11.    
  12.     int razlika = a - b;
  13.     printf("%d\n", razlika);
  14.    
  15.    
  16.  
  17.     return 0;
  18. }
  19.  
  20. /*
  21.  Od tastatura se vnesuvaat 2 celi broja. Na ekran da se ispechati nivniot zbir i razlika
  22.  
  23.  **/
  24.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement