#include<iostream>
using namespace std;
int main()
{
int num[4000],limit;
cout<<"Enter size of array less than 4000:"<<endl;
cin>>limit;
if(limit>4000)
{
cout<<"Please Enter size of array less than 4000"<<endl;
}
else
{
for(int i=0;i<limit;i++)
{
cout<<"Enter you "<<i+1<<" Value :"<<endl;
cin>>num[i];
}
for(int i=0;i<limit;i++)
{
cout<<"Enter value of "<<i+1<<" :"<<num[i]<<endl;
}
}
cout<<"***Eaglesoft Programmers***"<<endl;
return 0;
}
No comments:
Post a Comment