Advertisement
rafikamal

Add Two Numbers

Jan 3rd, 2013
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.16 KB | None | 0 0
  1. #include <stdio.h>
  2.        
  3. int main()
  4. {
  5.     int x;
  6.     int y;
  7.     int sum;
  8.    
  9.     x = 10;
  10.     y = 25;
  11.    
  12.     sum = x + y;
  13.    
  14.     printf("%d + %d = %d\n", x, y, sum);
  15.  
  16.     return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement