Condition to check if the sequence form Geometric Progression
else if ( checkIsHP ( arr , n ) ) { Console . WriteLine ( " Geometric ▁ Progression " ) ; flag = 1 ; } else if ( flag = = 0 ) { Console . WriteLine ( " No " ) ; } }