Hi sir/mam,
my code is not able to produce desired output.please see my code and help me in finding my error and comment them.my code_https://ide.codingblocks.com/s/272093
My code is not able to produce desired output
you need to initialize maxel after inputting the array, other than there were couple of mistakes in indexing i have corrected them and added comments in the code
Corrected Code
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.