help me to solve in multiple testcases
My code
Learning course: Learn C++
Problem Link: CodeChef: Practical coding for everyone
Learning course: Learn C++
Problem Link: CodeChef: Practical coding for everyone
@manishreddy48
to accept an input we need to use cin and for output we need to use
include <bits/stdc++.h>
using namespace std;
int main()
{
int t;
//accept the count of test cases given in the the 1st line
cin>>t;
//Run a loop to accept ‘t’ inputs
while(t–)
{
int N;
//accept an integer N in each test case
cin>>N;
//output the number mirror for each test case
cout<<N;
}
return 0;
}
// Update the ‘_’ in the code below
include <bits/stdc++.h>
using namespace std;
int main()
{
int t;
//accept the count of test cases given in the the 1st line
cin>>t;
//Run a loop to accept ‘t’ inputs
while(t–)
{
int N;
//accept an integer N in each test case
cin>>N;
//output the number mirror for each test case
cout<<N<<“\n”;
}
return 0;
}