Created
December 17, 2011 15:50
-
-
Save xlab/1490546 to your computer and use it in GitHub Desktop.
Multiply table
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?foreach(range(1,10) as $i){foreach(range(1,10) as $j){print ($i*$j).($j%10?" ":"\n");}}?> | |
можешь быстро накатать программу для вывода таблице умножения:вот прмиерно такую искинуть код | |
От mendab1e руби: | |
(1..10).each{|y| p (1..10).map{|x| x*y}} | |
//по мотивам http://cl.ly/Chfa |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment