October 27th, 2012, 03:03 PM
I was wondering if there was a way to insert text into some sort of array like function. Below is a sample of my code. I need to print out "Yes" in case sum is divisble by x and "No" in the opposite case in the order it occurs after all the text is inserted.
October 27th, 2012, 03:52 PM
Well if you have something like
And change your final printf to use %s rather than %c, then it should work.
October 29th, 2012, 11:46 PM
Floating point exception
X will be zero due to decrement operation in the for loop, So it will end up throwing Floating point exception..
Originally Posted by lalaman