+ 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
5 Answers
+ 2
Where did you run it?
It is a Turbo C++ code. iostream.h, conio.h doesn't exist anymore.
+ 2
I'll post the updated version, as there are a lot of errors. Ill explain them in the code itself.
+ 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...
0
how do I fix it?
0
Looking forward to it. Thank you.