I am trying to learn some java and I started with some assignments from codefights, and I just wanted to ask whether my coding technique is good or not ? for example is it okay to use break in for loops and multiple return statements ?

```
    boolean almostIncreasingSequence(int[] sequence) 
    {
          int i;                                                                                                
          int firstTry = 0;                                  /* to indicate the first try */         
          int secondTry = 0;                                 /* to indicate the second try */               
          int indexOfBreakingElement = 0;                    /* to indicate which index of the array is not following the almost increasing sequence */                           
          int sizeOfSequence = sequence.length;                                               
          int[] newFixedArray = new int[sizeOfSequence - 1]; /* an array used to store the edited or fixed array for further processing */                                             
          for(i = 0; i < sizeOfSequence-1; i++)
          {
                if(sequence[i] >= sequence[i+1])
                {
                      indexOfBreakingElement = i+1;
                      firstTry = 1;
                      break;
                }
          }

      if(firstTry==1)
      {
            for(i = 0; i < indexOfBreakingElement; i++)
            {
                  newFixedArray[i] = sequence[i];  
            }
            for(i = indexOfBreakingElement+1; i < sizeOfSequence; i++)
            {
                  newFixedArray[i-1] = sequence[i]; 
            }
      }

      for(i = 0; i < sizeOfSequence-2; i++)
      {
            if(newFixedArray[i] >= newFixedArray[i+1])
            {
                  indexOfBreakingElement = i;
                  secondTry = 1;
                  break;
            }
      }

      if(secondTry==1)
      {
            for(i = indexOfBreakingElement+1; i < sizeOfSequence; i++)
            {
                  newFixedArray[i-1] = sequence[i]; 
            }
      }

      for(i = 0; i < sizeOfSequence-2; i++)
      {
            if(newFixedArray[i] >= newFixedArray[i+1])
            {
                  return false;
            }
      }
      return true;
}

```