Can someone help me find why my code shows my losing output even when the correct values are entered (2,3,4)? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 2

Can someone help me find why my code shows my losing output even when the correct values are entered (2,3,4)?

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

25th Jun 2019, 3:40 AM
SethStain
2 Respuestas
+ 2
you need to seperate cin for each input cin>> guessA cin>> guessB
25th Jun 2019, 3:51 AM
Taste
Taste - avatar
+ 1
You did it, We're in! Thanks. You helped me find my mistake I had my cin >> guesses separated with commas instead of >> Although your way definitely would have worked as well.
25th Jun 2019, 3:57 AM
SethStain