#include<iostream.h>
#include<conio.h>
#include<iomanip.h>
void main()
{
int a[50], i, n;
clrscr();
cout<<"How manyelements?"<<endl;
cin>>n;
cout<<"Enter the elements: ";
for(i=0; i<n; i++)
cin>>a[i];
cout<<"The elements are: ";
for(i=0; i<n;i++)
cout<<setw(5)<<a[i];
getch();
}
explain this program please
Answers
Answered by
0
Answer:
.
Explanation:
I hope it helps
mark as brainle
Similar questions
Math,
2 months ago
Computer Science,
2 months ago
English,
9 months ago
Hindi,
9 months ago
French,
9 months ago