Compare commits
3 Commits
teste-jim
...
6f3c186b36
| Author | SHA1 | Date | |
|---|---|---|---|
| 6f3c186b36 | |||
| 4cf64a0479 | |||
| 5de595864c |
@@ -16,6 +16,7 @@ func main() {
|
|||||||
fmt.Println("Bem-vindo ao jogo de adivinhação!")
|
fmt.Println("Bem-vindo ao jogo de adivinhação!")
|
||||||
fmt.Printf("Você tem %d tentativas para adivinhar o número entre 1 e 10.\n", TENTATIVAS)
|
fmt.Printf("Você tem %d tentativas para adivinhar o número entre 1 e 10.\n", TENTATIVAS)
|
||||||
|
|
||||||
|
// inicializando variável de tentativa
|
||||||
tentativa := 0
|
tentativa := 0
|
||||||
|
|
||||||
for tentativa < TENTATIVAS {
|
for tentativa < TENTATIVAS {
|
||||||
@@ -44,4 +45,5 @@ func main() {
|
|||||||
|
|
||||||
tentativa++
|
tentativa++
|
||||||
}
|
}
|
||||||
|
// comentario do Davi
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user