Sum to two integer negative number without plus operator
#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;
}
Tags
Coding