Print table
Submissions: 14084   Accuracy:

40.8%

  Difficulty: School   Marks: 0
*School Problem's Submission isn't counted in score!

Print the table of a given number N. 

Input:
First line contains an integer, the number of test cases 'T'. T testcases follow. Each testcase cotains one line of input denoting N.

Output:
For each testcase, print the table of N upto 10.

Constraints: 
1 <= T <= 100
1 <= N <= 1000

Example:
Input:
1

Output:
9 18 27 36 45 54 63 72 81 90

** For More Input/Output Examples Use 'Expected Output' option **

Author: Karan Grover


If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.



Need help with your code? Please use ide.geeksforgeeks.org, generate link and share the link here.


to report an issue on this page.