Hey there I need some help with a c code. I need to find the maximum of an array and insert it in the array once again after the position of the maximum
Hey there I need some help with a c code. I need to find the maximum of an array and insert it in the array once again after the position of the maximum
What idea do you have in mind? What have you tried? Notice that your task has two parts: finding the maximum and re-inserting it. Have you at least done the finding of the maximum?
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
yeah i can find the maximum but dont know how to reinsert it into that exact position
Okay, so what is your current code?
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)