Solver show some multiples of a number
Algebra
->
Divisibility and Prime Numbers
-> Solver show some multiples of a number
Log On
Algebra: Divisibility and Prime Numbers
Section
Solvers
Solvers
Lessons
Lessons
Answers archive
Answers
Source code of 'show some multiples of a number'
This Solver (show some multiples of a number)
was created by by
ichudov(507)
:
View Source
,
Show
,
Put on YOUR site
About ichudov
:
I am not a paid tutor, I am the owner of this web site!
==section input Show examples of multiples of *[input a=5] ==section solution perl print "Some examples of multiples are $a*0 = 0 $a*1 = $a $a*2 = " . ($a*2) ." $a*3 = " . ($a*3) ." $a*5 = " . ($a*5) ." $a*10 = " . ($a*10) ." $a*25 = " . ($a*25) ." $a*100 = " . ($a*100) ." "; $m3=$a*3; ==section output m3 ==section check a=4 m3=12