Problem Text :
Write a function GeneratePassword which accepts two arguments, an integer and a character string consisting of letters (a-z) and digits (0-9).
When GeneratePassword(5,’abc0123′) is called, it should return a random string of 5 characters taken from ‘abc0123’.
For Example : GeneratePassword(7,’abczxc012394′) could return any of the following outputs :
2c00acb
2c23z93
030b2a4
Please answer this question. this question belong to many forum but could not solved it.
Your Answer is:
Please comment.
You must be logged in to post a comment.