I am unable to understand the input like we have to select a range from (n1,n2) but what is t ?
What is t test cases
Hey @Pranav-Gupta-1716510788408154
The question says that there will be t test cases. So Input will be like
t
n1 n2
Suppose there are 3 test cases, Therefore your code will expect 3 values for n1 and n2 and will generate three outputs respectively.
code layout
- First there will be an outer loop that will run
ttimes. - There will be your code that generates prime number between range n1 and n2.
I hope you got the point !
Thank you.