FYI: Documentation and new terminology "underlying type"
For this exercise
- create your own type. Have the underlying type be an
int
. - create a VARIABLE of your new TYPE with the IDENTIFIER
x
using thevar
keyword - in
func main
a. print out the value of the variablex
b. print out the type of the variablex
c. assign42
to the variablex
using the=
OPERATOR d. print out the value of the variablex