PRINT THE GIVEN NUMBERS AS A SEQUENCE
PRINT THE GIVEN NUMBERS AS A SEQUENCE
#include<iostream.h>
#include<conio.h>
void main()
{
int a[5],b;
clrscr();
cout<<"enter five
numbers";
for(b=0;b<5;b++)
cin>>a[b];
cout<<"hte numbers
are";
for(b=0;b<5;b++)
cout<<a[b];
getch();
}
OUTPUT:
Enter five numbers2
35
698
45
54
the numbers are2356984554
No comments: