December 19th, 2012, 12:55 PM
This line is wrong:
scanf("\n %d", &fun01coff[i]);
You've declared fun01coff as float. You shouldn't be using %d to read into it. I'll leave it to you to figure out what the correct format string should be, as a homework assignment
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne