2808 explained code solutions for 75 technologies


golangUsing panic() in program


package main
func main() {
  age := 90
  
  if age > 50 {
    panic("Naah, too old")
  }  
}ctrl + c