0

Someone can help me with c++?

My last code run, but the variable "cs" stays always void. Someone can tell me why?

28th Feb 2017, 3:48 PM
Ale
Ale - avatar
3 Answers
+ 2
Hi, it is caused by your if condition... You have if(nr=1), it should be if(nr==1)
28th Feb 2017, 4:00 PM
Alejandro Serrato
Alejandro Serrato - avatar
+ 1
Oh right, thank you very much Alejandro!
28th Feb 2017, 4:03 PM
Ale
Ale - avatar
0
In my profile, i called my code "random numers"
28th Feb 2017, 3:59 PM
Ale
Ale - avatar