#include
using namespace std;
int main()
{
int a[5]={1,2,3,4,5},i=0;
while(a[i]!='\0' && i<5){
cout<<a[i]<<endl;
i++;
}
return 0;
}
using namespace std;
int main()
{
int a[5]={1,2,3,4,5},i=0;
while(a[i]!='\0' && i<5){
cout<<a[i]<<endl;
i++;
}
return 0;
}
#include
ReplyDeleteusing namespace std;
int main()
{
int a[5]={1,2,3,4,5},i=0;
while(a[i]!='\0' && i<5){
cout<<a[i]<<endl;
i++;
}
return 0;
}