Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
package main
import "fmt"
func main(){
calificacion := 98
if calificacion >= 90{
fmt.Println("Excelente")
}else if calificacion >= 70{
fmt.Println("Bueno")
}else if calificacion >= 50{
fmt.Println("Regular")
}else if calificacion >= 30{
fmt.Println("Malo")
}else if calificacion >= 10{
fmt.Println("Malísimo")
}else{
fmt.Println("Sin palabras")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment