Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
package main
import (
func main() {
var numero int
fmt.Print("Digite um número inteiro: ")
if numero % 2 == 0 {
fmt.Println(numero, " é Par")
} else {
fmt.Println(numero, "é Impar")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment