Use the ceil and floor alternatively
if ( flip ^= true ) Console . Write ( ( int ) ( Math . Ceiling ( arr [ i ] / 2.0 ) ) + " ▁ " ) ; else Console . Write ( ( int ) ( Math . Floor ( arr [ i ] / 2.0 ) ) + " ▁ " ) ; }