Java Integer Door Combination -


I need some help or general advice on why my code does not work for purpose

Background information: The combination, in which there are 3, 2-digit numbers (between 10-99), is formed in a combination class. Connection Manager receives the class (found through the link given below) in ascending order (in accordance with the accessories assigned to them by former 34 67 87). Loop covered on nested whiles should go through all possible combinations; When the input combination succeeds or prevents the border (97 98 99). Just to clarify, 3 integers can not be equal to one another (former 34 347) and 10 11 12 default if combination is found, then return method for the next method to continue the boolean itself Will happen.

The loop should end when any of these two situations are met, else the whole program will fail. I am struggling to find a way to work it properly, Help / advice is appreciated. Public connection connection manager (Private Combination Combos; Private Connector Connect;) Public Category Connection Manager () {combo = New Combination (); Connect = New Connector (); Public Zero Unlock Door ( Sarcoma combo) {int calculation = 0; int combo 3; int combo 2; for int combo1; (counter = 0; counter & lt; = 99; counter ++) {while (combo3 and lt; = 99) { While (combo 2 & lt; combo3) {while (combo 1 & lt; combo 2) {setCombo (); // If set to unlock (combo == true) // connector class {unlock = true;} Else {combo1 ++; if (combo1 == combo2) {combo1 = 10; combo2 ++; If (combo2 == combo3) {combo2 = 11; combo3 = 12; combo3 ++;}} counter + = 1; System.out.println (combo 1 + "+ combo 2 +" "+ combo 3 +" "+ Counter)}}}}} system.ext (0);}}

If there is some discrepancy in the format of this post, then I apologize, again to any issue Repeat :)

I think that Due to syntax errors, your code does not compile because your constructor declare 'class' in the declaration:

  public class connection manager {personal combination combo; Private Connector Connect; } Public category connection manager () {combo = new combination (); Connect = new connector (); From  

  Public Class Connection Manager {Private Combination Combo; Private Connector Connect; Public connection manager () {combo = new combination (); Connect = new connector ();  

Comments