26 lines
620 B
Go
26 lines
620 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: Double Guesses
|
|
//
|
|
// Let the player guess two numbers instead of one.
|
|
//
|
|
// HINT:
|
|
// Generate random numbers using the greatest number
|
|
// among the guessed numbers.
|
|
//
|
|
// EXAMPLES
|
|
// go run main.go 5 6
|
|
// Player wins if the random number is either 5 or 6.
|
|
// ---------------------------------------------------------
|
|
|
|
func main() {
|
|
}
|