Lengkap

Subsets from a set

Design and implement a Visual C++ .NET program thatgenerates all possible subsets, combinations, or permutations from a set of size n.

Prompt the user to select one of these options:

1. Generate all 2n possible subsets from a set of size n.

2. Generate all n-choose-k possible combinations (subsets of size k) from a set of size n.

3. Generate all n! possible permutations from a set of size n.

For all 3 options you may assume that n<=20.

Write all output to the file "**[url removed, login to view]**". Place exactly one set, combination, or permutation on each line.

*You must use this exact name for the output file, otherwise we cannot test your submitted program!!!*

Please see the sample runs below for further details about the expected behavior of the program.

The sets, combinations, or permutations should be generated in some systematic order (not randomly). But the lines in the output file do not necessarily need to appear in the same order as shown below.

The only libraries that may be included for this project are <iostream> and <fstream>.

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.

Here are three sample runs:

[url removed, login to view]

## 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

Kemahiran: Pengaturcaraan C, Kejuruteraan, MySQL, PHP, Kejuruteraan Perisian, Ujian Perisian, Latihan, Pengehosan Web, Pengurusan Laman Web, Ujian Laman Web

Lihat lagi: work ua, programming define, define programming, define functional programming, define c programming, c# useful, cs programming, c programming define, k to 12 program, systematic, set of s, name three programs, htm txt, permutations combinations, permutation combinations, write lines php code, set net work, generate combination, set form order, visual php programs

Tentang Majikan:
( 7 ulasan ) United States

ID Projek: #3288908

Dianugerahkan kepada:

abirovw

See private message.

$6 USD dalam sehari
(29 Ulasan)
3.5

6 pekerja bebas membida secara purata $10 untuk pekerjaan ini

designleonteam

See private message.

$8.5 USD dalam sehari
(73 Ulasan)
6.6
bogdanstan

See private message.

$12.75 USD dalam sehari
(196 Ulasan)
5.7
cosminbanu

See private message.

$11.05 USD dalam sehari
(52 Ulasan)
4.9
walgarvw

See private message.

$11.05 USD dalam sehari
(16 Ulasan)
4.6
MohamedGabr

See private message.

$8.5 USD dalam sehari
(9 Ulasan)
2.5