0

Plz tell me how ro print a triangle of sterics in C++ using nested for loop.

?

6th Nov 2017, 1:04 PM
Maria Waheed
Maria Waheed - avatar
2 odpowiedzi
0
why you put k=0 in for loop.as it is not initialized before?
6th Nov 2017, 1:18 PM
Maria Waheed
Maria Waheed - avatar
0
this codebi have already seen on internet but not understood the logic of while loop (k!=2*i-1) ??
6th Nov 2017, 1:21 PM
Maria Waheed
Maria Waheed - avatar