+ 1

What is wrong with this program?

So I found this program on the internet. It's to find the mode from a set of numbers that the user input, but something is wrong. https://code.sololearn.com/cz4Ngks7amt3/?ref=app

22nd Nov 2017, 4:46 AM
Hdpolover
Hdpolover - avatar
5 Respuestas
+ 2
Where did you run it? It is a Turbo C++ code. iostream.h, conio.h doesn't exist anymore.
22nd Nov 2017, 5:28 AM
Solo Wanderer 4315
Solo Wanderer 4315 - avatar
+ 2
I'll post the updated version, as there are a lot of errors. Ill explain them in the code itself.
22nd Nov 2017, 5:29 AM
Solo Wanderer 4315
Solo Wanderer 4315 - avatar
+ 2
https://code.sololearn.com/ccYfWbikc22g/?ref=app Here is the corrected version. But since there are a lot of input requirements, I suggest you run the code on an offline compiler for best results...
22nd Nov 2017, 5:37 AM
Solo Wanderer 4315
Solo Wanderer 4315 - avatar
0
how do I fix it?
22nd Nov 2017, 5:29 AM
Hdpolover
Hdpolover - avatar
0
Looking forward to it. Thank you.
22nd Nov 2017, 5:30 AM
Hdpolover
Hdpolover - avatar