Write code that generates a random string of 10 characters from the given Array.
The results String should follow these rules:
1- At least 2 of the 10 characters must be numbers.
2- No Character can be used more than once
3- Possible Chars array cannot be modified
Use the following bit of code as your starting point:
Array of Chars Possible Chars =
{A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W,X,Y,Z, 1, 2, 3, 4, 5
Aucun commentaire:
Enregistrer un commentaire