We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

Same Line Declarations

You can declare multiple variables on the same line:

mileage, company := 80276, "Toyota"

The above is the same as:

mileage := 80276
company := "Toyota"

Assignment

At the top of the main function, declare a float called averageOpenRate and string called displayMessage on the same line.

Initialize them to values:

  • .23
  • is the average open rate of your messages

before they're printed.