n=0n=N whilst C>n{t=""n=n+I if!(n%3){t="Fizz"}if!(n%V){t=t+"Buzz"}proclaim((t||arabic(n))+"
")}
# Createth a variable known by most as "n",
# He shalt begin his journey as a mere
# peasant with naught but the value zero.
n = 0
# Loop thine program unto n approacheth C
# (Behold! Squire permits thee to write numbers
# in Roman numerals)
n = N
# Loop thine program unto n approacheth 100
whilst C > n {
# Lo! I spotteth another variable,
# who goes by the name of "t".
# It shall start off as a lonely empty string.
t = ""
# Increase n's wealth by bestowing upon it the number one
n = n + I
# If n divideth evenly into 3...
if !(n % 3) {
# Replaceth t with the string "Fizz"
t = "Fizz"
}
# If n also divideth evenly into 5...
if !(n % V) {
# Accompany t with the string "Buzz"
t = t + "Buzz"
}
# Proclaim to ye standard output...
proclaim(
# Either...
(
# t if it is not a lonely empty string...
t
# or n, converteth to ye foreign Arabic
# number system, used in lands afar.
|| arabic(n)
)
# Appendeth upon it a newline to start
# another journey.
+ "\n"
)
}
The preferred output formatA more favorable program is as follows:
n=N whilst C>n{t=""n=n+I if!(n%III){t="Fizz"}if!(n%V){t=t="Buzz"}proclaim((t||string(n))+"
")}
This program useth string(n)
in opposition to arabic(n)
, which displayeth n in Roman numerals, but nay, thythine great quest beseecheth that weone must useoutputeth thy program using this strange and unusual number formatsystem.