multiple checks in a 'if statement' in C language but not working -
i have code this.
int l=25; float x;
value x allotted long calculation
if(x<=l) x=x-l;
but not changing value when x=l.
i have tried
if(x>l || x==l)
even in case, value of x not change x=l.
please
either x
greater 25 , have been fooled thinking 25 software not display entire value correctly or code being executed , values being used differ have shown in question.
Comments
Post a Comment