Just want to note an interesting syntax used for if statements:if condition_statement ? true_value : false_value;e.g. if i>20 ? "Greater" : "Smaller";
I can use a For loop to read all lines in a given file until EOF. How did the above work? According to this documentation on For loops, in a For loop