Ist dieser Code Ć¼bersichtlich/ habt ihr VerbesserungsvorschlƤge? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Ist dieser Code Ć¼bersichtlich/ habt ihr VerbesserungsvorschlƤge?

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

27th Oct 2021, 8:43 PM
Max
Max - avatar
2 Respostas
+ 3
Bei mir sƤhe das eher so aus: Tipp: FĆ¼r boolean braucht man nicht if (d == true) schreiben. Es reicht ein: if (d) In diesem Fall vielleicht sogar ganz auf eine neue Variable verzichten und gleich if (b == c) einsetzen. https://code.sololearn.com/c657L2YRw9oP/?ref=app
27th Oct 2021, 8:51 PM
Coding Cat
Coding Cat - avatar
+ 2
Vielleicht kƶnntest du etwas konsistenter sein mit deinen EinrĆ¼ckungen. Maybe you could be a little more consistent with your indentation. https://code.sololearn.com/cRsjkW2jpGqW/?ref=app
27th Oct 2021, 8:52 PM
Lisa
Lisa - avatar