dimanche 8 novembre 2020

Lottery Program [closed]

enter image description here I have an assinment I have to turn in but I'm not sure how to start on this. Could someone help me out. the picture should be the end result.

Create a program that picks 4 random numbers between 1 and 10 when you run it. Make it so the program does not pick the same number twice. Also count the number of re-tries to get four different numbers. Make it so you can keep on playing. See the example below. Have fun and good luck!!




Aucun commentaire:

Enregistrer un commentaire