Help me in solving GSCP11 problem

My issue

can you give me solution im not able to print exact output

My code

// Update the blanks below to solve the problem'
#include <stdio.h>

int main() {
    int t;
    int A,B,D,E;
    char C[30];
    int i = 1;
    scanf("%d", &t );
    while ( i >= t); {
        scanf("%d %d", &A, &B );
        scanf("%s", &C);
        printf("%d %d %s ", A,B,C );
        i = i++;
    }
    return 0;
}

Learning course: Learn C
Problem Link: CodeChef: Practical coding for everyone

@ruchitharao365
U have done logical mistakes .
Plzz refer the following solution for better understanding.

//Solution as follows
#include <stdio.h>

int main() {
    int t;
    int A,B;
    char C[30];
    int i = 1;
    scanf("%d", &t );
    while ( i <= t) {
        scanf("%d %d", &A, &B );
        scanf("%s", &C);
        printf("%d %d %s ", A,B,C );
        i = i+1;
    }
    return 0;
}

while(i<=t) except this all code is correct

int main() {
int t;
int A,B;
char C[30];
int i = 1;
scanf(“%d”, &t );
while ( i <= t) {
scanf(“%d %d”, &A, &B );
scanf(“%s”, &C);
printf("%d %d %s ", A,B,C );
i = i+1;
}
return 0;
}

You have written all code right. Just add \n in printf line to get the next testcase output in next line.
printf("%d %d %s \n ", A,B,C );