soucin = 0; for (i = 1; i < b + 1; i++) { soucin = soucin + a; } alert (a.toString() + " * " + b.toString() + " = " + soucin.toString());