26 lines
		
	
	
		
			827 B
		
	
	
	
		
			Go
		
	
	
	
	
	
		
		
			
		
	
	
			26 lines
		
	
	
		
			827 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| 
								 | 
							
								package main
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								// ---------------------------------------------------------
							 | 
						||
| 
								 | 
							
								// EXERCISE: Wizard Printer
							 | 
						||
| 
								 | 
							
								//
							 | 
						||
| 
								 | 
							
								//   In this exercise, your goal is to display a few famous scientists
							 | 
						||
| 
								 | 
							
								//   in a pretty table.
							 | 
						||
| 
								 | 
							
								//
							 | 
						||
| 
								 | 
							
								//   1. Create a multi-dimensional array
							 | 
						||
| 
								 | 
							
								//   2. In each inner array, store the scientist's name, lastname and his/her
							 | 
						||
| 
								 | 
							
								//      nickname
							 | 
						||
| 
								 | 
							
								//   3. Print their information in a pretty table using a loop.
							 | 
						||
| 
								 | 
							
								//
							 | 
						||
| 
								 | 
							
								// EXPECTED OUTPUT
							 | 
						||
| 
								 | 
							
								//   First Name      Last Name       Nickname
							 | 
						||
| 
								 | 
							
								//   ==================================================
							 | 
						||
| 
								 | 
							
								//   Albert          Einstein        time
							 | 
						||
| 
								 | 
							
								//   Isaac           Newton          apple
							 | 
						||
| 
								 | 
							
								//   Stephen         Hawking         blackhole
							 | 
						||
| 
								 | 
							
								//   Marie           Curie           radium
							 | 
						||
| 
								 | 
							
								//   Charles         Darwin          fittest
							 | 
						||
| 
								 | 
							
								// ---------------------------------------------------------
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func main() {
							 | 
						||
| 
								 | 
							
								}
							 |