A Doubt in the working of ABCD Pyramid

I’m unable to understand the point where we are doing ch = ch -1 so that our pyramid start with alphabet ‘E’ again and not ‘F’

Please mention your code and the problem statement!

Hey Vasu, that’s because at the end of the first for loop the value of ch will be 1 more than the required value because of ch=ch+1; at the last step of the for loop, so before starting the second for loop we subtract 1 from ch to get the required value.