@ Nishant Sir, Not really. i thought it will be a good practice.
@Manmay, I think you're right.
y = (-1)^{[x]} , where [.] is GIF. Don't take help of softwares n all that
for x 0 to 1 , y =1
for x 1 to 2 , y=-1
for x -1 to 0, y=-1
similarly others , So i guess this shuld be the graph ..
@ Nishant Sir, Not really. i thought it will be a good practice.
@Manmay, I think you're right.