Search This Blog

Sunday, 23 August 2020

Enter the string in array..

 #include<iostream>

using namespace std;

int main()

{

char array;

for(array=1;array<5;array++)

{

cout<<"enter the string : "<<endl;

for(array=1;array<5;array++)

cin>>array;

}

for(array=1;array<5;array++)

{

cout<<"you entered string is:"<<array;

}

return 0;

}


No comments:

Post a Comment

Search This Blog

Contact Form

Name

Email *

Message *

Popular Posts