Help me in solving FLOW001 problem

My issue

Can you help me solve this problem

My code

#include <stdio.h>

int main(void) {
	int T;
	scanf("%d",&T);
	int i=0;
	while(i<T) {
	    int A,B;
	    scanf("%d %d", &A,&B);
	    int Z=A+B;
	    printf("%d\n", Z);
	    i++;
	}
	return 0;
} 


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

@jigyasadiwakar
U don’t need to put ; after while loop cozz it will terminate the whole loop over there and u will not go inside the loop ever.

Thanks, I tried that but my code still doesn’t take multiple inputs for each test case.

@jigyasadiwakar
this code is working absolutely fine.

#include <stdio.h>

int main(void) {
	int T;
	scanf("%d",&T);
	int i=0;
	while(i<T) {
	    int A,B;
	    scanf("%d %d", &A,&B);
	    int Z=A+B;
	    printf("%d\n", Z);
	    i++;
	}
	return 0;
}

my mistake. i rechecked, it works!