WAP in C to Addition without using third variable
- #include<stdio.h>
- void main()
- {
- int a,b,;
- printf("Enter the Frist no. = ");
- scanf("%d", &a);
- printf("Enter the Frist no. = ");
- scanf("%d", &b);
- a = a + b ;
- printf("Sum of the Number = %d",a);
- return 0;
- }
Post a Comment