Guest User

Untitled

a guest
Dec 19th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. #include<stdio.h>
  2. #include<conio.h>
  3. void main()
  4. {
  5. int a,b,sum ;
  6. clrscr() ;
  7. printf("enter value for a\n");
  8. scanf("%d", &a);
  9. printf("enter value for b\n");
  10. scanf("%d", &b);
  11. sum = a + b;
  12. printf("sum of given values %d\n", sum);
  13. getch();
  14. }
Add Comment
Please, Sign In to add comment