jeudi 19 octobre 2017

Setting a variable to random number between two numbers vb.net

Just started in visual studio using vb.net, trying to code a slot machine type game and struggling to set a variable to a random number between 0 and 9.

Basically I'm trying to make this work:

    dim number as integer
    number = *random number between 0 and 9*

Thanks a lot




Aucun commentaire:

Enregistrer un commentaire