Hello, I'm trying to create a multiplication table using For/Next loops in Visual Basic 6.0 for my beginning programming class, and I am totally lost and don't know what to do. Could anyone help me? It's supposed to be created using For/Next loops and other nested loops within the For/Next loops.

Thanks,
Missionary

Hopefully this gives you an idea :)

If you are looking to output multiple tables then the best way is to use two nested For Next loops, the outer one having an iteration for each table (eg 1 times, 2 times, 3 times etc) and the inner one having one iteration per multiple (eg * 1, * 2, * 3 etc). Then use the loop counters to create a line of the table. So outer loop counter * inner loop counter = ?

Cheers

D

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.