Data Structures programming using c, c++ and java
#includeusing namespace std;int main(){ int a[5]={1,2,3,4,5},i=4; while(i>=0){ cout<<a[i]<<endl; i--; } return 0;}
#include
ReplyDeleteusing namespace std;
int main()
{
int a[5]={1,2,3,4,5},i=4;
while(i>=0){
cout<<a[i]<<endl;
i--;
}
return 0;
}