0
Addition table?
Guys I tried everything but nothing happens. I cant create and addition table. I used 2 for loops, but cant combine them. like this 1 + 0 = up to 10 + 10 = 20. how to make it possible?
2 Respuestas
+ 6
for ($i = 0; $i < 11; $i++) //Counts 0 - 10 for first operand
{
for ($j = 0; $j < 11; $j++) //Count 0 - 10 for second operand
{
//Add $i and $j and output
}
}
+ 1
thanks. i'll try