plz write a code in c++ to print the table of any number using"for"loop.

Bench commented: Yet another post showing no effort... When will you read the rules? -1
Re: table 80 80
Member Avatar

What you have done till now? Post that and also Read This.

Re: table 80 80

write code in c++ to find the table of any number using"for"loop.

commented: Show some attempt, rather than repeating the question. -1
Re: table 80 80

no one is going to write the program or you, so you might as well read your text book and learn how to do it. Tables usually are two dimensional, with rows and columns and look something like below (I'm certain you have seen this before in hundreds of places)

1  2  3  4  5
2  3  4  5  6
3  4  5  6  7

To print the above table you need two for loops, one inside the other, one loop for rows and the other loop for the columns.


>>to find the table of any number
To find a table of what? Is it supposed to be a multiplication table ? Addition table ? you need to clarify the problem before you can begin to code it.

Be a part of the DaniWeb community

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