Anyone plz remove the error | Sololearn: Learn to code for FREE!

+1

Anyone plz remove the error

https://code.sololearn.com/cEsI6L1N80rP/?ref=app

c++ c

1/19/2022 4:28:41 PM

Mr Solo

6 Answers

New Answer

+2

A͢J thx bro ❤️

0

Anyone can remove errors but you need to know few things: 1 - you should not have unused variable 2 - you should know how to create function, what function should return 3 - where to open and close curly braces 4 - where to use return 0 and why. 5 - how to declare variable and which type of data should store that variable Now coming on code.:: 1 - where is largest function. 2 - function should have same return type as defined variable 3 - you didn't close curly braces properly 4 - you didn't use return 0 at right place.

0

A͢J bro can u plz fix the code and send me plz

0

Mr Solo I can fix but you need to debug self to learn concepts properly. Now wait I am fixing the error.

0

A͢J ok bro next time I trying my best

0

Mr Solo Here is the solution. https://code.sololearn.com/cVxGdI5pL2Ou/?ref=app