How to use random function so its output is a character ?

Status
Not open for further replies.

yanne

Newbie level 4
Joined
Aug 10, 2004
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
45
random function

i need help badly... does anyone know how to make use of random function so its output would be character not an integer??? pls help me tnx!
 

Re: random function

Hi,
Use a random funtion.
conert it to int by scaling or by dividing.
Typecast to char.
B R M
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…