Source Code:
#include <iostream>
using namespace std;
int main() {
int n,a[40];
cin>>n;
for(int i=0;i<n;i++)
{
cin>>a[i];
cout<<a[i]<<" ";
}
return 0;
}
#include <iostream>
using namespace std;
int main() {
int n,a[40];
cin>>n;
for(int i=0;i<n;i++)
{
cin>>a[i];
cout<<a[i]<<" ";
}
return 0;
}
Comments
Post a Comment