// code: instructions for how to process data // Common forms... // Operator (like in math class): something1 operatorName something2 val sumNums: Int = 3 * 17 val pemdas: Int = 1 + 2 * 3 val concatStrings: String = "howdy, " + "world!" // Function (like in Excel): functionName(something1, something2, ...) val biggestNum: Int = maxOf(1, 2, -5) // Method: something1.methodName(something2, something3, ...) // Think of it like ... methodName(something1, something2, something3) val convertToString: String = 5.toString() val numChars: Int = 5.toString().length // <- doing work, doesn't look like others val backToInt: Int = 5.toString().toInt() val excited: String = "howdy".uppercase() // useful for seeing results on the screen // (note, doesn't actually give anything back) val toldYaSo: String = " - see!" print("all on one line") print(toldYaSo) println(" afterwards, goes to the next line") println(toldYaSo)