Write a program that prompts for a pattern of 6 dice and then counts the number of throw necessary to get that pattern to appear. Use several methods: you might have one for input, one for processing, and one for output (Please use these methods and more if needed). Guarantee inputs are in an acceptable range (The numbers typed in are between 1-6). A sample run of the game would look like this:
Please enter a series of 6 dice that you would like the computer to duplicate
1 2 3 4 5 6