Question: A permutation program. Please make sure the program is able to work on JGrasp, it is the software that this exercise is required to work

A permutation program.

Please make sure the program is able to work on JGrasp, it is the software that this exercise is required to work on.

create a program that Accomplish the following

1. The program ask for a main / reccuring number. For demonstration, lets use 12345678901 (Note any length)

2.The program ask for how many number to be generated at the end of the main number so if i choose 6 numbers only 6 random number will be generated as a continuation to my main number (See below for example) .

3. Example.

If i choose 12345678901 as my main number, and i choose 6 numbers to be generated at the end of my main number this will be a possible result. 12345678901(6 randomly generated number) So a possible result would look like this 12345678901(098712)

4. The program ask how many combinations to generate. For example I might want it to generate 3 different combination, so the program should ask me how many combinations i want.

Final product should produce numbers that looks like this if i want it to generate 3 total numbers

12345678901512908

12345678901222233

12345678901610282

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!