#include
#include
#include
int main()
{
clrscr();
int IndexA[10] = {0,0,0,0,0,0,0,0,0,0};
int IndexB[10] = {0,0,0,0,0,0,0,0,0,0};
cout<<"You Are Requested To Enter Values in Arrays "<
if(IndexA[x] < 0 ) { cout<<"please eneter the value between 1 & 20"; cin>>IndexA[x];
}
else if(IndexA[x] >20)
{
cout<<"please eneter the value between 1 & 20"; cin>>IndexA[x];
}
}
clrscr();
cout<<"enter Value In Second Array"<
if(IndexB[x] < 0 ) { cout<<"please eneter the value between 1 & 20"; cin>>IndexB[x];
}
else if(IndexB[x] >20)
{
cout<<"please eneter the value between 1 & 20"; cin>>IndexB[x];
}
}
clrscr();
cout<<"You have enter these values in Array"<
No comments:
Post a Comment