Table


Small one:

12345678910
2468101214161820
36912151821242730
481216202428323640
5101520253035404550
6121824303642485460
7142128354249566370
8162432404856647280
9182736455463728190
102030405060708090100

Small but a little bigger, one:

12345678910111213141516171819202122232425
2468101214161820222426283032343638404244464850
36912151821242730333639424548515457606366697275
4812162024283236404448525660646872768084889296100
5101520253035404550556065707580859095100105110115120125
6121824303642485460667278849096102108114120126132138144150
714212835424956637077849198105112119126133140147154161168175
81624324048566472808896104112120128136144152160168176184192200
918273645546372819099108117126135144153162171180189198207216225
102030405060708090100110120130140150160170180190200210220230240250
112233445566778899110121132143154165176187198209220231242253264275
1224364860728496108120132144156168180192204216228240252264276288300
13263952657891104117130143156169182195208221234247260273286299312325
14284256708498112126140154168182196210224238252266280294308322336350
153045607590105120135150165180195210225240255270285300315330345360375
163248648096112128144160176192208224240256272288304320336352368384400
1734516885102119136153170187204221238255272289306323340357374391408425
1836547290108126144162180198216234252270288306324342360378396414432450
1938577695114133152171190209228247266285304323342361380399418437456475
20406080100120140160180200220240260280300320340360380400420440460480500
21426384105126147168189210231252273294315336357378399420441462483504525
22446688110132154176198220242264286308330352374396418440462484506528550
23466992115138161184207230253276299322345368391414437460483506529552575
24487296120144168192216240264288312336360384408432456480504528552576600
255075100125150175200225250275300325350375400425450475500525550575600625

Code that was way to hard to colorrrrrrrrr:

#!/bin/bash
printf "<table border=\"1\" cellspacing=\"0\">\n"
for i in {1..25};do
	printf "	<tr>"
	for j in {1..25};do
		if [[ $i = 1 ]]
		then
			printf "<th>$((i*$j))</th>"
		else
			printf "<td>$((i*$j))</td>"
		fi
	done
	printf "</tr>\n"
done
printf "</table>\n"

Gå tilbage