hi!
I want to make a script that prints random 0s and 1s in a txt file.
How whould the code look? I know how to prtint stuff into a txt file but how do I do so it's random?
Thanks for any help!
3 Replies - 4262 Views - Last Post: 04 July 2012 - 11:29 AM
#1
How to make a perl script that prints random 0s and 1s?
Posted 03 July 2012 - 07:53 AM
Replies To: How to make a perl script that prints random 0s and 1s?
#2
Re: How to make a perl script that prints random 0s and 1s?
Posted 03 July 2012 - 07:56 AM
#3
Re: How to make a perl script that prints random 0s and 1s?
Posted 04 July 2012 - 12:15 AM
If you're still having problems after reading up on rand(), post the code that you've tried and we can help you get it working, including explanations of why it didn't work.
#4
Re: How to make a perl script that prints random 0s and 1s?
Posted 04 July 2012 - 11:29 AM
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote









|