+ 1

C# game, need help

I need help, how i can generate numbers ex: if the user picked number 1 then it randomly generates a number ex. 6. If he chooses 2 then ex. 67 and etc. https://code.sololearn.com/cn0yp098cXBT/?ref=app https://code.sololearn.com/cn0yp098cXBT/?ref=app

20th Feb 2018, 8:43 PM
Rokas Morkūnas
Rokas Morkūnas - avatar
3 Respostas
+ 1
try math.random()
20th Feb 2018, 9:43 PM
Dominique Abou Samah
Dominique Abou Samah - avatar
+ 1
Fixed it out i needed to add using math
17th Jan 2019, 11:45 AM
Rokas Morkūnas
Rokas Morkūnas - avatar
0
@dominique abou samah doesnt work, says math doesnt exist
21st Feb 2018, 9:19 AM
Rokas Morkūnas
Rokas Morkūnas - avatar