|
{
removeall;:
table = function ()
{
push(format (G));:
num = getusernum("Please provide a number");:
if (num > 0)
{
a = 1;:
repeat (10)
{
echo (num , "x ", a , "= ", a * num):
a = a+1 ;:
}
}
else
{
echo ("Error. You did not provide a positive integer."):
}
format(pop());:
}
"Call new function to see it in action";:
table():
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I am a full-stack developer. My skills include JavaScript, C#/.Net, MS Azure cloud etc. I love to work on complex programming tasks requiring deep analysis, planning and use of efficient algorithms and data structures.