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

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

javascript - Clean way to programmatically use CSS transitions from JS? -

android - send complex objects as post php java -