0

outpot ?

int[5] cout<<"Enter 5 number:"; / for(int i=0;i<5;++i) { cin>>n[i]; } cout<<"First number:"<<n[0]<<endl; cout<<"Last number:"<<n[4]; _getch() return0; }

14th Jan 2017, 9:08 PM
saja
3 Answers
+ 2
depends on what the user enter
14th Jan 2017, 9:15 PM
Kawaii
Kawaii - avatar
+ 1
Output first and last entries of user, on two separated lines...
14th Jan 2017, 10:39 PM
visph
visph - avatar
0
like what ?
14th Jan 2017, 9:27 PM
saja