mardi 8 décembre 2020

I created a string array and I want to give them 3 random colors(Red Green Blue) [closed]

Im trying to do slot machine very simply (I will not do interface).

string[] arry = { "A", "B", "C", "D" };

I want to print 9 random output like

A(red), B(green), C(green), B(red), C(red), A(blue), B(red), A(blue), A(red)

This is Sample output that I want




Aucun commentaire:

Enregistrer un commentaire