•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the C++ section within the Software Development category of DaniWeb, a massive community of 423,955 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,130 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C++ advertiser: Programming Forums
Views: 1384 | Replies: 1
![]() |
•
•
Join Date: Mar 2007
Posts: 13
Reputation:
Rep Power: 2
Solved Threads: 1
write a program which take a string give it permutations and combination
c Syntax (Toggle Plain Text)
#include<conio.h> #include<stdio.h> #include<iostream.h> #include<stdlib.H> void main(void) { clrscr(); char a[3] //cout<<"ent int "<<endl; //cin<<a; atoi(a) for(a=1;a<=3;a++) { for(b=1;b<=3;b++) { for(c=1;c<=3;c++) { cout<<a<<b<<c<<endl; } } } getch(); }
Last edited by Ancient Dragon : Mar 14th, 2007 at 3:40 pm. Reason: add code tags
•
•
Join Date: Aug 2005
Location: near St Louis, Missouri, USA
Posts: 11,126
Reputation:
Rep Power: 38
Solved Threads: 929
now that you stated your assignment problem, what are your questions?
I think it's about time we voted for senators with breasts. After all, we've been voting for boobs long enough. ~Clarie Sargent, Arizona senatorial candidate
Those who are too smart to engage in politics are punished by being governed by those who are dumber. ~Plato
Those who are too smart to engage in politics are punished by being governed by those who are dumber. ~Plato
![]() |
•
•
•
•
•
•
•
•
DaniWeb C++ Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Similar Threads
- write a program which take a string give it permutations and combination (C++)
- write a program which take a string give it permutations and combination (C++)
- copying string from a vector to another (C++)
- string manipulation (C)
- how to generate substrings (order matters) from an input string?? (Python)
- my #include <string> wont make "string" bold (C++)
- Help with reading a String (Java)
- vc++ mfc-i can't make getline work with a string for file input (C++)
- Problem with my project (ASP)
Other Threads in the C++ Forum
- Previous Thread: Matric multipication
- Next Thread: write a program which take a string give it permutations and combination



Linear Mode