/*do-while loop example*/ int main() { int sum = 0; int cnt = 0; do { sum = sum + cnt; cnt = cnt + 1; } while(cnt < 5 || sum < 11); return sum; }