I need to create and if statement for a code dealing with golf, using the variable highestHoleScore. It has to keep track of the highest SUM of two scores out of the 9 possible SUMS?
Printable View
I need to create and if statement for a code dealing with golf, using the variable highestHoleScore. It has to keep track of the highest SUM of two scores out of the 9 possible SUMS?
An if statement can test the current values of variables. Keeping track of values would require an assignment statement.