TEMA

whats the problem here??? why 100% wrong?

rchowdhury55 preguntado 2 years ago

include

int main() { int x,y,i=0,n=0;

scanf("%d",&x);
scanf("%d",&y);

if(y<x){
    i=x;
    x=y;
    y=i;
}

while(x<=y){
    if(x%13!=0) n+=x;
    x++;
    if(x==y)
    {
        n+=x;
        printf("%d\n",n);
        break;
    }
}
return 0;

}

ITS SHOWING 100% WRONG ANSWER! WHY??

Este tema fue resuelto y no puede recibir nuevas respuestas.