0

Program to find largest, smallest, second_largest, second_smallest in C++...Kindly post your codes better than mine code here...

I want to solve this problem better than my code.Try to use easy code.I know only loops,conditions and little bit about arrays.I am beginner. https://code.sololearn.com/cU5yK8j9l7Ts/?ref=app

21st Mar 2022, 6:22 PM
Muhammad Talha Atif
Muhammad Talha Atif - avatar
3 Respuestas
+ 4
Kindly put your code in a script on sololearn playground rather than pasting everything in the description.
21st Mar 2022, 6:33 PM
Lisa
Lisa - avatar
0
I think you linked the wrong code: The linked code isn't about maximum or minimum.
21st Mar 2022, 6:58 PM
Lisa
Lisa - avatar
0
@proGAMBLER Try inputting: 5 # <- for the limit; 10 10 20 40 40
21st Mar 2022, 7:15 PM
rodwynnejones
rodwynnejones - avatar