Perhaps you could compile the program and see the results for yourself?
Anyway, noone like to see people post their homework. It's *your* work, not ours.
Please feel free to ask questions, of course, but bear in mind that you will not learn anything unless you apply yourself.
Cheers.
"The process of preparing programs for a digital computer is especially attractive, not only because it can be economically and scientifically rewarding, but also because it can be an aesthetic experience much like composing poetry or music." - Donald Knuth
|