37 lines
948 B
Go
37 lines
948 B
Go
// Copyright © 2018 Inanc Gumus
|
|
// Learn Go Programming Course
|
|
// License: https://creativecommons.org/licenses/by-nc-sa/4.0/
|
|
//
|
|
// For more tutorials : https://learngoprogramming.com
|
|
// In-person training : https://www.linkedin.com/in/inancgumus/
|
|
// Follow me on twitter: https://twitter.com/inancgumus
|
|
|
|
package main
|
|
|
|
// ---------------------------------------------------------
|
|
// EXERCISE: Multiple #2
|
|
//
|
|
// 1. Declare and initialize two string variables
|
|
// using multiple variable declaration
|
|
//
|
|
// 2. Use the type once while declaring the variables
|
|
//
|
|
// 3. The first variable's name should be firstName
|
|
// 4. The second variable's name should be lastName
|
|
//
|
|
// 5. Print them all
|
|
//
|
|
// EXPECTED OUTPUT
|
|
// "" ""
|
|
// ---------------------------------------------------------
|
|
|
|
func main() {
|
|
// ADD YOUR DECLARATION HERE
|
|
//
|
|
|
|
// REPLACE THE QUESTION-MARKS BELOW
|
|
// WITH THE NAME OF YOUR VARIABLES
|
|
|
|
// fmt.Printf("%q %q\n", ?, ?)
|
|
}
|