Age in Seconds
Calculate how many seconds you've been alive using basic math.
package main
import "fmt"
func main() {
age := 25
days := age * 365
hours := days * 24
seconds := hours * 3600
fmt.Printf("At age %d, you've lived roughly:\n", age)
fmt.Printf(" %d days\n", days)
fmt.Printf(" %d hours\n", hours)
fmt.Printf(" %d seconds\n", seconds)
}