Advertisement
Guest User

Problem solve of 1001 Extremely Basic

a guest
Oct 23rd, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. #include <stdio.h>
  2. int main ()
  3. {
  4.  
  5. int A,B,X;
  6. A=10;
  7. B=9;
  8. X=A+B;
  9. printf("X=%d",X);
  10.  
  11. return 0;
  12. }
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20. #include <stdio.h>
  21. int main ()
  22. {
  23.  
  24. int A,B,X;
  25. A=-10;
  26. B=4;
  27. X=A+B;
  28. printf("X=%d",X);
  29.  
  30. return 0;
  31. }
  32.  
  33.  
  34.  
  35.  
  36. #include <stdio.h>
  37. int main ()
  38. {
  39.  
  40. int A,B,X;
  41. A=15;
  42. B=-7;
  43. X=A+B;
  44. printf("X=%d",X);
  45.  
  46. return 0;
  47. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement