+ 2

Why cant I type in letters for eigenschaft and why isnt eigenschaft displayed?

Look at the Code and you will see what mean. https://code.sololearn.com/cm9t8N11yWFL/?ref=app

16th Jan 2018, 11:51 PM
Bryan Jason Bach
Bryan Jason Bach - avatar
7 Respuestas
+ 19
Do you want your code to work this way? https://code.sololearn.com/cTpyf826l2Ch/?ref=app
17th Jan 2018, 12:14 AM
NezhnyjVampir
+ 6
Because you failed to make the SoloLearn app aware you planned on doing input so it failed to give you a prompt to allow you to enter your input. Add to your code this trick to get the prompt: #define x cin >>
17th Jan 2018, 12:19 AM
John Wells
John Wells - avatar
+ 6
I believe I put your code back as it was with my fix. https://code.sololearn.com/czEyp802xL2F/?ref=app
17th Jan 2018, 12:35 AM
John Wells
John Wells - avatar
+ 5
You're very welcome. If you end up playing with C, there is a similar trick.
17th Jan 2018, 12:39 AM
John Wells
John Wells - avatar
+ 4
thx
17th Jan 2018, 12:20 AM
Bryan Jason Bach
Bryan Jason Bach - avatar
+ 4
yeah. thats exactly what i was trying to so. Jugend thanks
17th Jan 2018, 12:36 AM
Bryan Jason Bach
Bryan Jason Bach - avatar
+ 3
no. i want "eigenschaft" to ne displayed in the sentece. also i expected the console asking me to type in something for eigenschaft. because i used cin.....
17th Jan 2018, 12:17 AM
Bryan Jason Bach
Bryan Jason Bach - avatar