0
C++ class problem
Can anyone tell my what's wrong in this code https://code.sololearn.com/c8l3m96k1WP2/?ref=app I can input "cin >> w;" Why?
5 ответов
+ 3
I meant char
+ 2
But I am not sure what you want to do
+ 1
In fact, y has a random value, maybe 0, maybe not
You may have wanted to input characters and the user to pick one instead of integers ? (Ex: answer == 'y')
0
Like string?
0
Are you have copy this code to your Ide