- #1
Gotcha
- 11
- 0
Hi There Everyone!
I was wondering if any of you could guide me in the right direction concerning the following problem (an algorithm would be much appreciated):
I am writing a program for a Computer Science Project.
The Program works as follows:
1. It generates a random number with a set amount of digits.
2. The user then enters a set of numbers.
3. The program then outputs how many of these numbers are in the right position
4. This process continues until the user has entered the initial the random number.
I now want to add a feature where the user enters a number of sets, each containg the same number of digits, as well as how many numbers are in the right position.
My program should then work out which numbers are in the right positions, if any.
I want to know if there is some algorithm or mathematical logical process by which I could program this.
I don't require any code as such, any help on how to go about this problem or an algorithm would be much appreciated!
I was wondering if any of you could guide me in the right direction concerning the following problem (an algorithm would be much appreciated):
I am writing a program for a Computer Science Project.
The Program works as follows:
1. It generates a random number with a set amount of digits.
2. The user then enters a set of numbers.
3. The program then outputs how many of these numbers are in the right position
4. This process continues until the user has entered the initial the random number.
I now want to add a feature where the user enters a number of sets, each containg the same number of digits, as well as how many numbers are in the right position.
My program should then work out which numbers are in the right positions, if any.
I want to know if there is some algorithm or mathematical logical process by which I could program this.
I don't require any code as such, any help on how to go about this problem or an algorithm would be much appreciated!