25 lines
		
	
	
		
			519 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			519 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
 | |
| 
 | |
| import "fmt"
 | |
| 
 | |
| func main() {
 | |
| 	ops, ok, fail := 2350, 543, 433
 | |
| 
 | |
| 	fmt.Println(
 | |
| 		"total:", ops, "- success:", ok, "/", fail,
 | |
| 	)
 | |
| 
 | |
| 	fmt.Printf(
 | |
| 		"total: %d - success: %d / %d\n",
 | |
| 		ops, ok, fail,
 | |
| 	)
 | |
| }
 |