Hava Language TutorialPascal's Triangle illustrates an important feature of Hava:
In other words, an indexed variable may look like a
function, but it acts more like a repository of numbers.
Because of this feature, calculating the first 10 rows
of Pascal's triangle requires 45 additions.
|