RosettaCodeData/Task/Compile-time-calculation/00-TASK.txt

12 lines
300 B
Text
Raw Permalink Normal View History

2025-08-11 18:05:26 -07:00
Some programming languages allow calculation of values at [[compile time]].
2023-07-01 11:58:00 -04:00
;Task:
Calculate &nbsp; <big> 10! </big> &nbsp; (ten factorial) &nbsp; at compile time.
Print the result when the program is run.
Discuss what limitations apply to compile-time calculations in your language.
<br><br>