Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Showing results 1 to 3 of 3
Search took 0.01 seconds.
Search: Posts Made By: ajm235
Forum: C++ Programming August 24th, 2004, 10:17 AM
Replies: 13
Views: 2,051
Posted By ajm235
creating finate sequences

hi,
can someone please tell me how i can get my computer to create a finate sequence of coin tosses.

i want to tell it p(heads)=1/3
p(tails)=2/3
n=10
and it to give me a sequence eg
H, T, T,...
Forum: C++ Programming August 19th, 2004, 08:37 AM
Replies: 1
RSA
Views: 1,584
Posted By ajm235
RSA

Hi, i've written a programme to decrypt rsa and it works fine for small values, for example when i chose my two primes to be 3 and 7 and therefore n=3*7=21 and totient function=12.

But i have to...
Forum: C++ Programming August 10th, 2004, 06:39 AM
Replies: 3
Views: 7,619
Posted By ajm235
Prime Number Counting. Help!!

Hi, i'm a c beginner and have to write a programme to count the number of prime numbers less than 100,1000,10000,100000,1000000 respectively. I've written the following programme but when i run it i...
Showing results 1 to 3 of 3

 




Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.