TOPIC

Wrong Answer

Adjamilton Junior asked 3 months ago

Alguém consegue ver algum erro nesse código?

package main

import (
    "fmt"
)

func main() {

    /**
     * Escreva a sua solução aqui
     * Code your solution here
     * Escriba su solución aquí
     */
     var c, n int
     fmt.Scanf("%d", &c)
     for i := 0; i < c; i++ {
         fmt.Scanf("%d", &n)
         if n > 8000 {
             fmt.Println("Mais de 8000!")
         } else {
             fmt.Println("Inseto!")
         }
     }
}

This topic has not been answered yet. Be the first!

Remember not post solutions. Your post may be reviewed by our moderators.