Pls why do we have to leave line 5 in this code. | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Pls why do we have to leave line 5 in this code.

public class Program { public static void main(String[] args) { int age = 22; int money = 800; if (age > 18 && money > 500) { System.out.println("Welcome!"); } } }

14th Feb 2017, 10:55 AM
Joel
Joel - avatar
2 Antworten
+ 1
easy to read. beauty only
14th Feb 2017, 11:07 AM
Michael W
Michael W - avatar
+ 1
ease of flow when reading and understanding your code, best to actually put comments between these lines
14th Feb 2017, 11:10 AM
Andre van Rensburg
Andre van Rensburg - avatar