+ 6
I want enter 8 numbers and display. But different number appear.
3 ответов
+ 10
Mari Hi ,
You need to give all inputs before you hit "submit" on prompt.
You can separate multiple inputs by spaces or newlines like:
1 2 3 4 5 6 7 8
Or
1
2
3
4
....
8
And give some space between numbers in output otherwise they merge together like 12345...
Change
cout<<pass [x];
by
cout<<pass[x]<<" ";
https://code.sololearn.com/WhiNb9BkJUVC/?ref=app
+ 3
Oh thank you. I understand💪( ¨̮ 💪)