Completed

Random Subset

Design and implement a Visual C++ .NET program thatgenerates random subsets, combinations, and permutations.

More Info On Website

<[url removed, login to view]>

Repeatedly prompt the user to select one of these options:

1. Generate a random subset from a set of size n. Each of the 2n possible subsets should be equally likely to occur. For this option you may assume that n<=50.

2. Generate a random subset of size k from a set of size n. Each of the n-choose-k possible combinations should be equally likely to occur. For this option you may assume that n<=50.

3. Generate a random permutation from a set of size n. Each of the n! possible permutations should be equally likely to occur. For this option you may assume that n<=20.

4. Quit.

More Info On Website

<[url removed, login to view]>

The only libraries that may be included for this project are , , and . Seed the random number generator so that different results are obtained on each run.

Your program must define and call at least one programmer-defined function. This function must be appropriate and serve a useful purpose in your program.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

## Platform

C++.Net, Windows

Skills: C Programming, PHP

See more: work ua, useful website for programmer, programming define, design seed, define programming, define functional programming, define c programming, c# useful, cs programming, c programming random number, c programming define, code generator .net, k to 12 program, random, generate random number, seed random number generator, generator seed, random code generator, permutations combinations, set combinations generator

About the Employer:
( 7 reviews ) United States

Project ID: #3282261

Awarded to:

abirovw

See private message.

$6 USD in 1 day
(29 Reviews)
3.5

8 freelancers are bidding on average $15 for this job

bogdanstan

See private message.

$15.3 USD in 1 day
(196 Reviews)
5.7
MyRiddler

See private message.

$15.3 USD in 1 day
(31 Reviews)
3.7
haagmm

See private message.

$17 USD in 1 day
(2 Reviews)
1.4
smitsvw

See private message.

$17.85 USD in 1 day
(4 Reviews)
1.1
martinke

See private message.

$17 USD in 1 day
(0 Reviews)
0.0
kavehgh

See private message.

$12.75 USD in 1 day
(0 Reviews)
0.0
maartenraange

See private message.

$21.25 USD in 1 day
(0 Reviews)
0.0