Voted 1 for blatant homework question. I'm sure that writing the algorithm to do permutations is the entire point of this exercise. Getting someone else to write it for you will teach you nothing, and if you keep that approach through your education you'll end up as one of the terrible developers that make our lives hell.
All of the pieces of an exercise are available to you, and you are supposed to be learning how to but those thoughts together. Breaking down a problem description into the pieces you need to use is one of those skills and you aren't helping anyone by asking CP to do that for you.
You're not really flamed for having a homework question, but for not showing you did something yourself and not being specific.
We're all professionals here doing real paid work. We're willing to help, but not at our own expense.
- have you googled? If you don't know the keywords to look for, that would be a specific question.
- have you tried? What did you do? What is the problem? You can't get the text as input? You can't shuffle the characters?
So google first, try a little (open your book, your teacher will not give an assignment of which the answer can't be found in lecture notes) and if you get stuck on specific problem, come back here.
(PS: would be nice to see another nickname than Member 9454563 )
If you are using normal Morse spacing, the duration of a dit in seconds is given by 1.2/WPM. (cf. my article[^]) For 250 WPM that means a single dit is 4.8 msec long. If you choose a frequency around 1000 Hz, then a cycle is 1 msec long, so that means you have only 4.8 cycles of the audio wave in a dit.
It shouldn't be any surprise that you can't hear that.
CQ de W5ALT
Walt Fair, Jr., P. E. Comport Computing Specializing in Technical Engineering Software
Last Visit: 31-Dec-99 18:00 Last Update: 29-Jun-15 16:30