2016-12-05 22:15:40 +01:00
|
|
|
Some programming languages allow calculation of values at compile time.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;Task:
|
|
|
|
|
Calculate <big> 10! </big> (ten factorial) at compile time.
|
|
|
|
|
|
|
|
|
|
Print the result when the program is run.
|
2013-04-10 16:57:12 -07:00
|
|
|
|
|
|
|
|
Discuss what limitations apply to compile-time calculations in your language.
|
2016-12-05 22:15:40 +01:00
|
|
|
<br><br>
|