Something
public cpp v1 · immutableint errorsdo{ errors = 0 for(int i = 0; i < 49; i++) if(array[i] > array[i + 1] { swap array[i] and array[i + 1] here errors++ }}while errors > 0int errorsdo{ errors = 0 for(int i = 0; i < 49; i++) if(array[i] > array[i + 1] { swap array[i] and array[i + 1] here errors++ }}while errors > 0