+ 1

rand() %10

how can i cout>>rand() % 10 ; in c++ ? i do the code and compiles perfectly but it does not appear on cmd. any ideas ?

17th Apr 2018, 9:45 AM
Dichonia
Dichonia - avatar
2 Respostas
+ 2
replace ">>" with "<<"
17th Apr 2018, 9:48 AM
MO ELomari
MO ELomari - avatar
+ 1
ohh my god so stupid my bad ! thank you ! !
17th Apr 2018, 9:51 AM
Dichonia
Dichonia - avatar