Maximum Circular Sum

In this question I am able to print maximum circular sum when i am taking size of array and elements of array.

(I AM ABLE TO DO THIS)
enter 7 //size of array
8 -8 9 -9 10 -11 12 // elements of array
output -22

But in the question we have to take Number of test cases and i am not able to implement loop for number of test case
(BUT IN QUES WE HAVE TO DO THIS)

1 //number of test cases
enter 7 //size of array
8 -8 9 -9 10 -11 12 // elements of array
output -22
so please implement a loop for test cases . Here is my Program

@abhibansal252
Coding Blocks IDE
this is the changed code for multiple test cases
( i have not seen your code logic only added loop for multiple test cases) if there is still any issue your can ask again

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.