Question by  Irliol (25)

How do I display multiplication tables in C ++?

I need directions on how to write the loop so that I can display multiplication tables with the integers of ten.


Answer by  worker5989 (20)

first initialise two characters c=10, i=0. then perform (c*i) and display result. Then increment "i" say "i++" and perform (c*i) in a loop manner and disply result correspondingly.


Answer by  PowerIsMe (844)

You basically want to write a for loop with a counter going from 1 to say 10. And then another for loop within that one with the counter again from 1 to 10. Inside the two loops, just multiply the two counters and display the product. (thus, you will be generating the table for the outer-counter numbers)


Answer by  Lakshmi65 (715)

First INITIALIZE ALL VARIABLES, second get input from user, third one is to Control the row and then to control the Column. We can use the function loop with if else statement.


Answer by  VB82 (32)

Use a doWhile loop. Then give a print statement asking to enter the integer. Declare count with an integer data type. Initialize it to zero,and increment it by 1. Then,multiply integer with count.


Answer by  japratt (1687)

In order to display these types of tables you will first need to access the access program from Microsoft Office. This will allow you to have the screen that you are looking for.

You have 50 words left!