+ 6

I want enter 8 numbers and display. But different number appear.

https://code.sololearn.com/c7OK3IkcHC1i/?ref=app

3rd Nov 2019, 3:22 AM
Mari Hi
Mari Hi - avatar
3 Antworten
+ 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
3rd Nov 2019, 3:27 AM
🇮🇳Omkar🕉
🇮🇳Omkar🕉 - avatar
+ 3
Oh thank you. I understand💪( ¨̮ 💪)
3rd Nov 2019, 3:39 AM
Mari Hi
Mari Hi - avatar