Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created March 6, 2018 06:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/8d733c718a9ecac4fb6ba1b8ad43c660 to your computer and use it in GitHub Desktop.
Save parzibyte/8d733c718a9ecac4fb6ba1b8ad43c660 to your computer and use it in GitHub Desktop.
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