News

here we create half pyramid, inverted half pyramid and the triangle pyramid using a number in java. this pattern example are useful also in interview question in java ... Step 6- Stop. C JAVA Python ...
Need to double check value type and format for python ... n = index number of word. - n = pyramid level +1 going from 1 at 1 up. - Number of pyramid levels = (NumberOfLines) / (0.5* n *(n+1)) - Level ...