BETA
This is a school problem. Successful submissions of this are not counted in user ratings.

Submissions : 517 Accuracy :

50.29

C++ Loops | Set 1 (Print a string N times)
       

Given an integer N. The task is to print "GeeksforGeeks" N times (without quotes). Every time "GeeksforGeeks" will be printed on a new line.

Input:

The first line contains a single integer T i.e. the number of test cases. Each test case contains a single integer N representing number of times the string "GeeksforGeeks" will be printed.
 

Output:

Corresponding to each test case, print "GeeksforGeeks" N times (without quotes), every time on a new line.

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

Example:

Input:
2
3
2

Output:
GeeksforGeeks
GeeksforGeeks
GeeksforGeeks
GeeksforGeeks
GeeksforGeeks

**For More Examples Use Expected Output**


Contributor: Harsh Agarwal

Set Default Code

					   
Result:
It is recommended to test your code before clicking 'Submit' button!



                   



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