You are viewing a single comment's thread. Return to all comments →
If I remove the i=0 code why does the output fall short?
for second case you must need i=0 because for case 1 i incremented to n-1. or you can change j instead of i in inner for loop.So you you dont need to write i=0
Understood! thank you for the reply