Cobra
Really, this is quite trivial.
class Program
def main
for i in 10, Console.write(5 - Math.abs(5 - i))
Or
class Program
def main
v as int = 123454321
for i in v.toString, Console.write(i)
Or even simpler
class Program
def main
print 1, 2, 3, 4, 5, 4, 3, 2, 1
But if you insist on following the question exactly:
class Program
def main
num as int = 123454321
for i in '[num]',
Console.write(i)
Console.toString+'write(' ')
This uses only one integer variable, only one loop, and the only function explicitly called is used for output.