n is the number of lines
int n = sizeof ( a ) / sizeof ( a [ 0 ] ) ; cout << " The ▁ number ▁ of ▁ triangles ▁ that " " ▁ can ▁ be ▁ formed ▁ are : ▁ " << numberOfTringles ( a , b , c , n ) ; return 0 ; }