You are viewing a single comment's thread. Return to all comments →
no need to take loop till n, if u take int sum=n; then condition (till half loop) : i<=n/2;
Seems like cookies are disabled on this browser, please enable them to open this website
Day 19: Interfaces
You are viewing a single comment's thread. Return to all comments →
no need to take loop till n, if u take int sum=n; then condition (till half loop) : i<=n/2;