+ 2
Friend's can we generate random alphabets using rand() function
6 ответов
+ 10
I wouldn't say that selecting from an array of characters is simpler though, but it works too.
https://code.sololearn.com/cnrk13r4aOI7/?ref=app
https://code.sololearn.com/cZfx07FLcq77/?ref=app
+ 9
Generate integer values between a designated range of ASCII values, and then cast the values to their character counterparts.
+ 2
can u please post code about it
+ 2
or a simpler method is by having an array of alphabets then select elements randomly with a Rand() that outputs values between 0 to 25 or between 0 to array.length
+ 2
it will be more helpfull if u develop a code in c++ @Brains
0
Thank you for your kind responce