WAP in C to addition two numbers




  1. #include<stdio.h>
  2. void main()
  3. {
  4.    int a,b,c,;
  5.    printf("Enter the Frist no.");
  6.    scanf("%d", &a);
  7.    printf("Enter the Frist no.");
  8.    scanf("%d", &b);
  9.    
  10.    c = a + b ;
  11.  
  12.    printf("Sum of the Number = %d",c);
  13.  
  14.    return 0;
  15. }

No comments

Creater by Deepak. Powered by Blogger.