Track TypeScript
TypeScript track

Space Age

An exercise from the TypeScript track
easy

About this exercise

Given an age in seconds, calculate how old someone is in terms of a given planet's solar years.

classes
floating point numbers
View all solutions