kalponikoronno

find out what is wrong?

Feb 26th, 2015
276
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.21 KB | None | 0 0
  1. int main()
  2. {
  3.     int a,b,c;
  4.  
  5.     c = a + b;
  6.  
  7.     printf("Enter a number: ");
  8.  
  9.     scanf("%d",&a);
  10.  
  11.     printf("Enter a Second Number: ");
  12.  
  13.     scanf("%d",&b);
  14.  
  15.     printf("Result: %d", c);
  16.  
  17. return 0;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment