Pls tell me where is the main fault...😔😔 | Sololearn: Learn to code for FREE!

+1

Pls tell me where is the main fault...😔😔

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

8/7/2022 11:04:45 PM

Ryomen Sukuna

2 Answers

New Answer

+1

Hi Ryoumen: https://code.sololearn.com/c2oA6gLL47Kj/?ref=app insert brackets to the IF statement, also the swap must be like this : temp <== A A <== B B <== temp

0

Amine Laaboudi Thanks alllot Mann!! 😍