Advertisement
Fahim_789

simpleSUM(user)

May 16th, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.25 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4.     int num1,num2,sum;
  5.     printf("Enter the number :");
  6.     scanf("%d",&num1);
  7.     printf("Enter the second number :");
  8.     scanf("%d",&num2);
  9.  
  10.     sum =num1 + num2;
  11.  
  12.     printf("Sum = %d\n",sum);
  13.     return 0;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement