Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 549 Bytes

3.03.md

File metadata and controls

14 lines (9 loc) · 549 Bytes

Hands-on Exercise #3

Using the code from the previous exercise,

  1. at the package level scope, assign the following values to the three variables a. for x assign 42 b. for y assign "James Bond" c. for z assign true

  2. in func main a. use fmt.Sprintf to print all of the VALUES to one single string. ASSIGN the returned value of type string using the short declaration operator to a VARIABLE with the IDENTIFIER s

answer