i am not entering into loop after 2nd iteration why it happens ???

help me with this

question : https://www.hackerearth.com/problem/algorithm/easy-question/submissions/

or

This is the easiest question of the entire set.

Just find **6n** and print last two digits.

**Note : Suppose if your answer is 06 then print just 6.**

**Input**

The first line of the input contains a single integer **T** *(1 ≤ T≤ 10^5)* — the number of test cases.

Each test case contains a single line containing single number **n** . *( 1 <= n <= 10^50 )*

**Output**

Print **T** lines. In each line print the desired output

**mysoultion:**

#include <bits/stdc++.h>

using namespace std;

int LastTwoDigit(long long int num)

{

```
int one = num % 10;
num /= 10;
int tens = num % 10;
tens *= 10;
num = tens + one;
return num;
```

}

// Driver program

int main()

{

int t ;

cin>>t;

while(t–)//it is (t - -) not ( t - )

{

long long int n;

cin>>n;

long long int num = 1;

num = pow(6, n);

cout << LastTwoDigit(num) << endl;

```
}
return 0;
```

}