sum to two integer negative number without plus operator

Sum to two integer negative number without plus operator







STUDY EVERTHING






 #include <stdio.h>

#include <conio.h>
int main(){
   int x, y;
  printf("Enter a number: ");
 scanf("%d %d", &x, &y);
 while(x!=0 ){
     x++;
     y--;
 } 
 printf("sum is %d", y);
 return 0;

 }






Post a Comment

If you have furthur QUERIES please let us know

Previous Post Next Post