36 lines
		
	
	
		
			833 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			833 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| // For more tutorials: https://blog.learngoprogramming.com
 | |
| //
 | |
| // Copyright © 2018 Inanc Gumus
 | |
| // Learn Go Programming Course
 | |
| // License: https://creativecommons.org/licenses/by-nc-sa/4.0/
 | |
| //
 | |
| 
 | |
| 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", ?, ?)
 | |
| }
 |