hi, i was writing a c program for my class assignment, and i got stuck. i paste it below. it appears to me that the program structure is ok, but when i run it, it does'nt give any output. i have also tried by taking the last 'printf' statement out of the for loop, but then the out put is not what i expected. it prints the value of x as -10 continously 50 times. . help plz!!