printTimesTable 🌶️
Write a method printTimesTable that takes an int n and prints the first ten lines of its times table, one line for each multiplier from 1 to 10, in this form:
3 x 1 = 33 x 2 = 6...3 x 10 = 30
Print exactly this, and nothing else.
One println in the loop. What changes on each line: only the multiplier and the product?
Does n * i need brackets when it is joined to text with + ? Think about the order Java works in.