Back To C++ Single Dimensional Arrays Index
//program to input integer array of size 5 using while loop and then display the integer array using while loop #include
#include
void main() { int marks[5]; int i=0; clrscr(); while(i<5) { cout<<"enter marks in subject "<
>marks[i]; i++; } cout<<"\ndisplaying marks\n"; i=0; while(i<5) { cout<<"\nmarks in subject "<