Print table
Submissions: 9901   Accuracy:

36.26%

  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


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

to report an issue on this page.